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
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
The text was updated successfully, but these errors were encountered:
This is continuation of #1681 discussions to 'fix' problems with
Bind
Originally posted by @aldas in #1681 (comment)
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)
u.Child1.ID
will be bind butu.Child2.ID
will not as later does not have a tag forid
The text was updated successfully, but these errors were encountered: