Polymorphic Dyno Serializer
constructor(baseKeySerializer: KSerializer<*>)
Constructs PolymorphicDynoSerializer instance using "base" key KSerializer. "Base" key is type argument of Entity (upper bound).
It is only required baseKeySerializer to implement KSerializer.descriptor, the actual serialization methods are not used.
See also
constructor(baseSchemaName: String, baseSchemaVersion: Int = -1, unknownKeysStrategy: UnknownKeysStrategy = DEFAULT_UNKNOWN_KEY_STRATEGY, registry: PolymorhicSchemaRegistry? = null, discriminator: String = DEFAULT_DISCRIMINATOR)