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
{{ message }}
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.
CodecRegistry documentation says If a class is registered under multiple polymorphic serializers, the chosen serializer is unpredictable.
There are clean workaround for this and are well known.
The workarounds include using the SerializationCodec` class.
However, the unpredictable behavior can be removed.
The idea is to declare an SerialInfo annotation and if multiple bases are present for a sub, then the base annotated with the declared annotation will take precedence.
Can call the annotation DefaultBase or something like that.
The text was updated successfully, but these errors were encountered:
CodecRegistry
documentation saysIf a class is registered under multiple polymorphic serializers, the chosen serializer is unpredictable.
There are clean workaround for this and are well known.
However, the unpredictable behavior can be removed.
The idea is to declare an
SerialInfo
annotation and if multiple bases are present for a sub, then the base annotated with the declared annotation will take precedence.Can call the annotation
DefaultBase
or something like that.The text was updated successfully, but these errors were encountered: