Closed fps7806 closed 1 month ago
Discriminator is not used on serialization since its purpose is only to select a dataclass on deserialization. However, you are faced with using a parent class serialization issue from #225. I will close this issue as a duplicate, so feel free to subscribe to the related one.
Description
I was trying to use the msgpack serialization feature with discriminators
What I Did
crashes with:
because to_msgpack excludes the subtype data:
using:
works though