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 can see two implementations, either add an additional alias field to the musli attribute that takes a list of names, or extend the name field:
For serializing this doesn't change anything, but for parsing this would mean it needs to accept the primary as well as all aliases. AFAICT, this would only make sense when using names and not indexes.
#[musli(name = "primary", alias = "secondary")]#[musli(name("primary","secondary")]
The text was updated successfully, but these errors were encountered:
I can see two implementations, either add an additional
alias
field to themusli
attribute that takes a list of names, or extend thename
field:For serializing this doesn't change anything, but for parsing this would mean it needs to accept the primary as well as all aliases. AFAICT, this would only make sense when using names and not indexes.
The text was updated successfully, but these errors were encountered: