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

Validate multiple options with presence key in it #602

Merged
merged 1 commit into from
Mar 11, 2015

Conversation

AdriVanHoudt
Copy link
Contributor

The validation would throw when using presence and another key because values would keep the values from the presence key in it thus not validating other keys.

Fixes #601

@Marsup Marsup added the bug Bug or defect label Mar 11, 2015
@Marsup Marsup added this to the 6.0.6 milestone Mar 11, 2015
@Marsup Marsup self-assigned this Mar 11, 2015
Marsup added a commit that referenced this pull request Mar 11, 2015
Validate multiple options with presence key in it
@Marsup Marsup merged commit 43a43d5 into hapijs:master Mar 11, 2015
@AdriVanHoudt AdriVanHoudt deleted the patch-validate-options branch March 11, 2015 11:19
@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
bug Bug or defect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: stripUnknown should be one of required, optional, forbidden, ignore
2 participants