New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Support [IgnoreDataMember] #9
Comments
Yes, |
The issue is that IgnoreDataMember is not part of .NET standard 1.4, so currently it can't be supported. However I can imagine it being added easily when future versions of .NET standard get released / ported to. |
Really? |
When you open up the solution and you attempt to use it (which I tried), it gives you a warning. My source is this: .NET Standard 1.4 API. I suppose @neuecc would need to add that package as dependency in order for this to work. It is trivial to implement, there are around 4 places where you would need to add checks for it and that's about it. |
Yes, but since DataContract/member support is not yet in (atleast I get exceptions if I use |
Sure, if neuecc wants to add it I would help him if he likes. |
Thanks, I've added dependency(this is prepare workspace, not yet implemented). |
IgnoreDataMember has been supported |
Currently the [IgnoreMember] Attribute is used to annotate properties which should be excluded.
I suggest to additionally support [IgnoreDataMember] (which is part of System.Runtime.Serialization) to do the same.
Reason: Easier migration from other serializers and it would not be necessary to have the MessagePack library in all the projects with base types for serialization.
The text was updated successfully, but these errors were encountered: