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
Joi.object({ email: Joi.string() .email({ tlds: { allow: false } }) })
{ email: 'somevalid@email.com' }
TypeError: Cannot read properties of undefined (reading 'has')
Validate without error as stated on https://joi.dev/api/?v=17.8.1#stringemailoptions
The text was updated successfully, but these errors were encountered:
I'm getting same with v17.8.1 and v17.8.0 and the same schema:
Fixed by pinning at 17.7.1.
Bug must have been caused by #2909
Sorry, something went wrong.
fix: properly transform domain
245e0c9
Fixes #2915
This is fixed in 17.8.2.
Marsup
Successfully merging a pull request may close this issue.
Support plan
Context
What are you trying to achieve or the steps to reproduce?
Schema
Data To Validate
Result
What result did you expect?
Validate without error as stated on https://joi.dev/api/?v=17.8.1#stringemailoptions
The text was updated successfully, but these errors were encountered: