You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the usefulness of immutable types for strong usage contracts and being able to depend on data passed by reference not mutating it would be great for SharpYaml to support serialization and deserialization of these collection types like it does for arrays.
Currently attempting to deserialize them throws an exception InvalidOperationException: Cannot deserialize list to readonly collection type [System.Collections.Immutable.ImmutableArray1[Subtype]].`
The text was updated successfully, but these errors were encountered:
The System.Collections.Immutable namespace contains immutable collection types.
Given the usefulness of immutable types for strong usage contracts and being able to depend on data passed by reference not mutating it would be great for SharpYaml to support serialization and deserialization of these collection types like it does for arrays.
Currently attempting to deserialize them throws an exception
InvalidOperationException: Cannot deserialize list to readonly collection type [System.Collections.Immutable.ImmutableArray
1[Subtype]].`The text was updated successfully, but these errors were encountered: