Do default polymorphic type handlers work also for...
# serialization
a
Do default polymorphic type handlers work also for cases where the class discriminator is just not present in the json?
d
I don't think so. The default handler isn't nullable.
It would also mean that you would accept any json object whatsoever.
a
hmm okay thanks
e
you can extend JsonContentPolymorphicSerializer to do this