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

allow array as valid validate config on headers, params, query and payload #3121

Merged
merged 2 commits into from
May 21, 2016
Merged

allow array as valid validate config on headers, params, query and payload #3121

merged 2 commits into from
May 21, 2016

Conversation

AdriVanHoudt
Copy link
Contributor

fixes #3119

was not sure where to test, just add a test with arrays under test/validation.js ?

@Marsup
Copy link
Contributor

Marsup commented Apr 13, 2016

Missing response.schema for consistency.

@hueniverse hueniverse added the feature New functionality or improvement label Apr 13, 2016
@AdriVanHoudt
Copy link
Contributor Author

@Marsup also added on status since it also allows a Joi schema it looks like

@AdriVanHoudt
Copy link
Contributor Author

seems like a flakky test?

@hueniverse hueniverse added this to the 13.4.1 milestone May 21, 2016
@hueniverse hueniverse self-assigned this May 21, 2016
@hueniverse hueniverse merged commit 6d2896b into hapijs:master May 21, 2016
@AdriVanHoudt AdriVanHoudt deleted the validate-array branch May 21, 2016 10:59
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New functionality or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support [] as payload validation
3 participants