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(gen): handle anyOf which can be represent by type sum #152

Merged
merged 3 commits into from
Feb 3, 2022

Conversation

tdakkota
Copy link
Member

@tdakkota tdakkota commented Feb 3, 2022

No description provided.

@codecov
Copy link

codecov bot commented Feb 3, 2022

Codecov Report

Merging #152 (e593f56) into main (eb5784c) will increase coverage by 1.37%.
The diff coverage is 92.17%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #152      +/-   ##
==========================================
+ Coverage   72.38%   73.75%   +1.37%     
==========================================
  Files          78       80       +2     
  Lines        4838     5182     +344     
==========================================
+ Hits         3502     3822     +320     
- Misses       1110     1128      +18     
- Partials      226      232       +6     
Impacted Files Coverage Δ
gen/schema_gen_sum.go 91.23% <91.23%> (ø)
gen/schema_gen_primitive.go 91.95% <91.95%> (ø)
internal/ir/validation.go 92.00% <92.10%> (+0.06%) ⬆️
gen/write.go 82.35% <100.00%> (+0.93%) ⬆️
internal/oas/parser/schema_parser.go 75.89% <100.00%> (+1.76%) ⬆️
gen/reduce.go 58.97% <0.00%> (+1.53%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb5784c...e593f56. Read the comment docs.

@tdakkota tdakkota merged commit d3f85ed into ogen-go:main Feb 3, 2022
@tdakkota tdakkota deleted the feat/treat-some-any-of-as-sum branch February 3, 2022 14:13
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