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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Polymorphism support by discriminator refactoring:
BREAKING CHANGE: CborOptions.DiscriminatorConvention and SerializationRegistry.DefaultDiscriminatorConvention have been removed. Multiple discriminator conventions are now supported based on DiscriminatorConventionRegistry (accessible via SerializationRegistry.DiscriminatorConventionRegistry)
BREAKING CHANGE: Default discriminator is now based on type full qualified name
BREAKING CHANGE: CborDiscriminatorAttribute is now handled by AttributeBasedDiscriminatorConvention. This new convention support any discriminator type, not only string like before. AttributeBasedDiscriminatorConvention has to be registered manually via DiscriminatorConventionRegistry.RegisterConvention
Discriminator is now handled as a MemberMapping/MemberConverter
Possibility to set an order an member mappings, including the discriminator
Added support for CborRequiredAttribute with different policies
Added support for anonymous types (Cbor.DeserializeAnonymousType)