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

Convention to ignore extra properties should be set automatically #24

Open
einari opened this issue Apr 9, 2019 · 1 comment
Open

Comments

@einari
Copy link

einari commented Apr 9, 2019

We don't always want to map all the properties in a Document. By default, the serializer should ignore properties that are not on the read model.

┆Issue is synchronized with this Asana task

@smithmx
Copy link

smithmx commented Apr 9, 2019

var pack = new ConventionPack();
pack.Add(new IgnoreExtraElementsConvention(true));
ConventionRegistry.Register("Dolittle Conventions", pack, t => true);

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

2 participants