Skip to content

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

Merged
hueniverse merged 2 commits intohapijs:masterfrom
AdriVanHoudt:validate-array
May 21, 2016
Merged

allow array as valid validate config on headers, params, query and payload#3121
hueniverse merged 2 commits intohapijs:masterfrom
AdriVanHoudt:validate-array

Conversation

@AdriVanHoudt
Copy link
Copy Markdown
Contributor

fixes #3119

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

@Marsup
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@AdriVanHoudt
Copy link
Copy Markdown
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
Copy Markdown

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