-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Bug Description
In Fiber v3, the Bind().URI() method fails to populate struct fields when using the params tag, even when the tag name matches the route parameter name exactly. Manual retrieval via ctx.Params() works, suggesting the issue lies specifically within the Binder's reflection logic.
How to Reproduce
Steps to reproduce the behavior:
- Define a struct with a params tag.
- Define a route with a matching parameter name.
- Call ctx.Bind().URI() inside the handler.
Expected Behavior
params.ID should be populated with the value from the URL (e.g., 5).
Fiber Version
V3
Checklist:
- I agree to follow Fiber's Code of Conduct.
- I have checked for existing issues that describe my problem prior to opening this one.
- I understand that improperly formatted bug reports may be closed without explanation.
Reactions are currently unavailable