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

validateObject should not accept null object #859

Closed
dgeb opened this issue Jul 7, 2021 · 0 comments · Fixed by #866
Closed

validateObject should not accept null object #859

dgeb opened this issue Jul 7, 2021 · 0 comments · Fixed by #866

Comments

@dgeb
Copy link
Member

dgeb commented Jul 7, 2021

Credit to @joelgallant for noticing this oversight.

This won't have practical implications when used to validate attributes of type object because null will be caught first.

Regardless, the object validator should work well on its own and should probably not accept null as a valid object.

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

Successfully merging a pull request may close this issue.

1 participant