, and then register a polymorphic serializer for Any, as the comments indicate. Or so I think, I do something similar in my use case, and that works just fine.
r
rocketraman
01/20/2022, 2:06 PM
I do need it be nullable unfortunately
rocketraman
01/28/2022, 12:23 AM
I worked around this by replacing my nullable
T
with an
Optional<T>
type. Too bad there are still so many rough edges with serialization.