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'm currently implementing this here, and I was wondering how/if unnamed structs and enum variants should be handled? Given that deserialization currently only supports newtype unnamed structs, should the implementation only focus on named structs and panic when the attribute is used in other cases for the time being?
I'm also unsure what json would even need to be deserialized to reach a case where defaults for newtypes are needed.
add
#[serde(default)]
as supported modifierThe text was updated successfully, but these errors were encountered: