-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
Are nested options applied correctly? #2180
Comments
I wouldn't say it is a bug, but we already try to validate inputs to catch typos and we could add a check for this as well. Contribution welcome if someone is willing to investigate. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Experimenting with
only
, I noticed it is possible to assign an invalid value to a Field'sonly
attribute.Looking at the code in the
__apply_nested_option
method of theschema.Schema
class, there is no validation done when propagating theonly
value to a field.All comments are welcome.
The text was updated successfully, but these errors were encountered: