-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Path param int deserialization #381
Conversation
@EwenQuim Am I on the right track? I basically mimicked the implementation of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's good! Thank you very much 🎉
Maybe try to place the logic in a single place?
And most of all, please add test to prove it works and ensure it never gets broken in future versions :)
140d8f1
to
0aa5414
Compare
Tests are added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we'll merge this PR and then
- add tests for
PathParamIntErr
- remove
PathParamIntErr
and makePathParamInt
return zero-value or an error
Also, please run |
Thank you. I'll be careful next time. |
Thank you @thezbm for this PR! High quality work here :) 🎉 |
closes #377