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

Support for _drop_dynamic_properties #161

Open
gastlich opened this issue Mar 6, 2019 · 0 comments
Open

Support for _drop_dynamic_properties #161

gastlich opened this issue Mar 6, 2019 · 0 comments

Comments

@gastlich
Copy link

gastlich commented Mar 6, 2019

Hi there,
it would be nice, if there was a way of dropping dynamic properties instead of allowing them or not.

Currently the default behaviour is accepting dynamic properties (_allow_dynamic_properties = True).
By changing this attribute, the library raises an error, and this is a valid approach in a case when you would like to be very strict about your schema. In our case we would like to be very strict on things we defined in the schema manually, but drop all dynamic fields additionally.

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