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
When serializing a model that has a relationship loaded, we might want to make a field in the related models hidden or visible. Currently we would need to do something like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When serializing a model that has a relationship loaded, we might want to make a field in the related models hidden or visible. Currently we would need to do something like this:
The enhancement proposed would allow the use of the '.' and ',' notation, similar to the eager loading convention, in a shorter fashion:
If there are multiple attributes, a comma is used:
Beta Was this translation helpful? Give feedback.
All reactions