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

Generate all responses types (fixes #57) #60

Merged
merged 2 commits into from
May 11, 2024
Merged

Conversation

Embraser01
Copy link
Owner

@Embraser01 Embraser01 commented May 11, 2024

Breaking changes:

  • Functions will not throw on bad http status anymore
  • Instead users will have check themselves or use the ok helper function

The reason behind this is to allow easier error handling with better error typing. It also improve multiple success response handling (for complex usage mainly)

Fixes #57

@Embraser01 Embraser01 force-pushed the marco/full-response-mode branch from 2209912 to 5cc2d8c Compare May 11, 2024 16:31
@Embraser01 Embraser01 merged commit 79b21e7 into main May 11, 2024
15 checks passed
@Embraser01 Embraser01 deleted the marco/full-response-mode branch May 11, 2024 16:43
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.

Add a mode that return the full response instead of the "good" response
1 participant