We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gin/binding/query.go
Lines 15 to 21 in b57163a
mapForm searches form struct tag, not query
mapForm
form
query
Fixed version:
func (q queryBinding) Bind(req *http.Request, obj any) error { values := req.URL.Query() if err := mapFormByTag(obj, values, q.Name() ); err != nil { return err } return validate(obj) }
The text was updated successfully, but these errors were encountered:
fixed in #3236 @illiafox Thanks.
Sorry, something went wrong.
@illiafox Please open the new PR to fix the testing. #3236 can't pass the testing
I guess the issue can be closed as the query tag is not used anywhere
No branches or pull requests
gin/binding/query.go
Lines 15 to 21 in b57163a
mapForm
searchesform
struct tag, notquery
Fixed version:
The text was updated successfully, but these errors were encountered: