Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new schema builder methods which allow GC to collect built schemas #334

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

takeyourhatoff
Copy link

No description provided.

@@ -164,6 +164,22 @@ func (sp *SchemaProxy) BuildSchema() (*Schema, error) {
return schema, er
}

func (sp *SchemaProxy) BuildTempSchema() (*Schema, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add docs to this method? Just so folks know what it is and why it is there.

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

Attention: Patch coverage is 21.42857% with 11 lines in your changes missing coverage. Please review.

Project coverage is 99.58%. Comparing base (8e9d97c) to head (056b7e3).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
datamodel/high/base/schema_proxy.go 0.00% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #334      +/-   ##
==========================================
- Coverage   99.65%   99.58%   -0.07%     
==========================================
  Files         164      164              
  Lines       16674    16687      +13     
==========================================
+ Hits        16616    16618       +2     
- Misses         53       64      +11     
  Partials        5        5              
Flag Coverage Δ
unittests 99.58% <21.42%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants