-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Use fuego Error for PathParam errors #386
Comments
Hey! I'm Jan. • Dojo |
Yeah if you want! Please think about adding some tests. |
Do I need to modify only the internal/common_context.go file, or should I update all references in other files where PathParamInvalidTypeError and QueryParamInvalidTypeError appear, replacing them with fuego.BadRequest? |
Please remove completely |
May I pick this up? |
Yes if you want! |
@jancris100 @B-uchi any nesw on this issue? |
Per this comment: #381 (comment)
The
PathParamInvalidTypeError
should be wrapped up by afuego.BadRequest
errorThe
QueryParamInvalidTypeError
should do the same https://github.com/go-fuego/fuego/blob/main/internal/common_context.go#L122.The text was updated successfully, but these errors were encountered: