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 thought about this, and I do agree!
The default serde behavious looks disgusting, but we need to be compatible to it.
I've created this new branch to make this the default behaviour.
Externally tagged unions
it the default for serde enums in e.g. JSON.An enum like this:
would convert to this:
It looks kinda ugly but it's very useful to me and it's the serde default.
The text was updated successfully, but these errors were encountered: