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

Ensure Task<ApiResponse> is Returned for Void Methods in Generator #238

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

mortenlaursen
Copy link

Updated logic to wrap void return types in Task<ApiResponse> when settings.ReturnIApiResponse is true.

Updated logic to wrap void return types in `Task<ApiResponse>` when `settings.ReturnIApiResponse` is true.
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@christianhelle christianhelle self-assigned this Dec 11, 2023
@christianhelle christianhelle added bug Something isn't working enhancement New feature, bug fix, or request and removed bug Something isn't working labels Dec 11, 2023
@christianhelle
Copy link
Owner

@all-contributors please add @mortenlaursen for code

Copy link
Contributor

@christianhelle

I've put up a pull request to add @mortenlaursen! 🎉

Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (077a7a4) 98.19% compared to head (e2304be) 98.22%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #238      +/-   ##
==========================================
+ Coverage   98.19%   98.22%   +0.02%     
==========================================
  Files          56       57       +1     
  Lines        1939     1969      +30     
==========================================
+ Hits         1904     1934      +30     
  Misses         18       18              
  Partials       17       17              
Flag Coverage Δ
unittests 98.22% <100.00%> (+0.02%) ⬆️

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.

@christianhelle
Copy link
Owner

@mortenlaursen Thanks for the contribution

@christianhelle christianhelle merged commit 7e44c6f into christianhelle:main Dec 11, 2023
425 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, bug fix, or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants