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

Array is accepted as an Object type #121

Closed
iamdoron opened this issue Aug 26, 2013 · 0 comments
Closed

Array is accepted as an Object type #121

iamdoron opened this issue Aug 26, 2013 · 0 comments
Assignees
Labels
bug Bug or defect
Milestone

Comments

@iamdoron
Copy link
Contributor

Joi.validate([], Joi.types.Object()); // returns null
Joi.validate([1, 3, 4], Joi.types.Object()); // returns null
hueniverse pushed a commit that referenced this issue Nov 2, 2013
@ghost ghost assigned hueniverse Nov 2, 2013
@lock lock bot locked as resolved and limited conversation to collaborators Jan 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug or defect
Projects
None yet
Development

No branches or pull requests

2 participants