Closed felippemr closed 2 years ago
From the README:
Type unions are not supported yet.
Expected behavior is that you don't do that ;-)
I'm honestly not sure how type unions should work, though, particularly for deserialization. How should it know which type to expect?
Closing as not an actionable issue.
👋 I have a dataclass that look like this:
What is the expected behavior if I give this to a serializer? Currently it is just getting the first type within the
Union
.