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

fix(gen): generate a special type for optional request body #577

Merged
merged 5 commits into from
Sep 20, 2022

Conversation

tdakkota
Copy link
Member

No description provided.

@ernado ernado enabled auto-merge September 19, 2022 13:49
@tdakkota tdakkota force-pushed the fix/handle-optional-body-correctly branch from ef0b0af to 34e0d53 Compare September 19, 2022 16:14
@tdakkota tdakkota marked this pull request as draft September 19, 2022 20:44
auto-merge was automatically disabled September 19, 2022 20:44

Pull request was converted to draft

@tdakkota tdakkota force-pushed the fix/handle-optional-body-correctly branch from 34e0d53 to 4b8ca26 Compare September 20, 2022 02:54
@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Base: 72.10% // Head: 72.09% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (9207c0e) compared to base (2dc4c66).
Patch coverage: 68.42% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #577      +/-   ##
==========================================
- Coverage   72.10%   72.09%   -0.02%     
==========================================
  Files         159      159              
  Lines       11307    11338      +31     
==========================================
+ Hits         8153     8174      +21     
- Misses       2731     2739       +8     
- Partials      423      425       +2     
Impacted Files Coverage Δ
gen/ir/operation.go 61.62% <ø> (ø)
gen/gen_request_body.go 55.40% <63.63%> (+2.07%) ⬆️
gen/fix.go 80.85% <100.00%> (+0.10%) ⬆️
gen/gen_contents.go 72.88% <100.00%> (+0.77%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tdakkota tdakkota marked this pull request as ready for review September 20, 2022 03:01
@ernado ernado merged commit e3e5854 into ogen-go:main Sep 20, 2022
@tdakkota tdakkota deleted the fix/handle-optional-body-correctly branch September 20, 2022 04:59
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