You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DefaultBinder.Bind() binds path/query params to struct fields without TAG #1729
So I started to work with do not bind to field without tag requirement and I'll document some findings here that will be changed with this requirement.
Example with current behaviour (without modifications)
If bind destination is struct contaning struct fields then matching query params will be bind for each struct in hierarchy. Those inner structs do not need tags atm.
after this change u.Child1.ID will be bind but u.Child2.ID will not as later does not have a tag for id
Activity
Fix labstack#1729 Binding query/path params and form fields to struct…