Issue Description
There's uncertainty about which struct tag should be used for binding URL query parameters in Gin:
- Currently using:
query:"page"
- Potentially should be:
form:"page"
Context
In the QueryOptions struct in responses.go, we're using query tags for binding query parameters. However, there's a question about whether Gin's binding engine actually looks for form tags instead when using methods like ShouldBindQuery or ShouldBind.
Tasks
References
Issue Description
There's uncertainty about which struct tag should be used for binding URL query parameters in Gin:
query:"page"form:"page"Context
In the
QueryOptionsstruct inresponses.go, we're usingquerytags for binding query parameters. However, there's a question about whether Gin's binding engine actually looks forformtags instead when using methods likeShouldBindQueryorShouldBind.Tasks
querytagsformtagsReferences