Open miu-na opened 2 years ago
Xml serialization was not actively developed recently, and there's no infrastructure for rich conversions like json.
If you try to serialize as an IEnumerable which is backed by the ImmutableArray... would this work then? That might be a way to unblock until this can be addressed.
Currently, the xml serializer will throw an error when serializing immutable arrays containing objects of reference type. Is it possible to add xml serialization support for immutable arrays containing objects of reference type? Or how to implement this function?
Exception: