Skip to content
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

Thomas Lorimor MongoLinqPlusPlus Issues Json.Net deserialization fallback should ignore Json.Net specific attributes #5

Open
tom1952 opened this issue Jan 31, 2020 · 0 comments

Comments

@tom1952
Copy link
Contributor

tom1952 commented Jan 31, 2020

The working assumption for the user is that data is deserialized from Mongo utilizing Mongo's Bson related attributes and that any Json.Net attributes are irrelevant.

However, because we fall back to Json.Net for anonymous types, we will then pick up any Json.Net attributes from the deserialized properties despite the user not expecting that.

We should ignore any Json.Net attributes when deserializing...

(Moved this issue over from bitbucket)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant