-
Notifications
You must be signed in to change notification settings - Fork 241
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
Usage of allowed and nullable params #454
Comments
It looks like 74c015b introduced the change. It seems that allowed needs to be added the the call to _drop_remaining_rules in order to match the 1.1 behavior. |
This appears to be related to #373 |
After looking at the old code a bit more it seems that previously all other rules were skipped after the nullable rule if the field was null. cerberus/cerberus/validator.py Lines 863 to 865 in 1018ac8
|
no, on the contrary, |
I'm have a issues when use allowed and nullable params
Use-case abstract
Output from cerberus
Bug report / Feature request
As we can see in v1.2 have different ouput with nullable param (3td schema). It looks like a bug
In my oppinion v1.1 working more properly
The text was updated successfully, but these errors were encountered: