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
I have some use cases joins of multiple tables. It's tedious to write a new struct for every join. Serde has a flatten macro that is meant to expand subtypes (docs) - are we able to use that?
Or is there a better way to model join tables without repeating myself all over the codebase?
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
-
I have some use cases joins of multiple tables. It's tedious to write a new
struct
for every join. Serde has a flatten macro that is meant to expand subtypes (docs) - are we able to use that?Or is there a better way to model join tables without repeating myself all over the codebase?
Beta Was this translation helpful? Give feedback.
All reactions