We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const joi = require('@hapi/joi') const example = joi.string().allow(['', null]); example.validate('bar'); // Error: Method no longer accepts array arguments: valid
An exception was thrown with the message "Method no longer accepts array arguments: valid"
An exception thrown with the message "Method no longer accepts array arguments: allow"
The text was updated successfully, but these errors were encountered:
Seems reasonable.
Sorry, something went wrong.
cdb4821
hueniverse
No branches or pull requests
Support plan
Context
What are you trying to achieve or the steps to reproduce?
What was the result you got?
An exception was thrown with the message "Method no longer accepts array arguments: valid"
What result did you expect?
An exception thrown with the message "Method no longer accepts array arguments: allow"
The text was updated successfully, but these errors were encountered: