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
We use serialisers such as protobuf-net and others, it would be great if an extension point be made such as adding attributes to members (one workaround might be to add custom serialisation methods to a partial class or could we add [DataMember(Order = 1)]/[DataContract] by default).
The text was updated successfully, but these errors were encountered:
The code assumes that types will be mutable around the elected members. Accordingly, custom structs are not supported, since they should be immutable.
With regard to other attributes, it would certainly be possible to add extra options, though as I don't use them, I'm a little hesitant to implement it myself. Happy to look at PRs of course 🙂
We use serialisers such as
protobuf-net
and others, it would be great if an extension point be made such as adding attributes to members (one workaround might be to add custom serialisation methods to a partial class or could we add[DataMember(Order = 1)]/[DataContract]
by default).The text was updated successfully, but these errors were encountered: