We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
z.email(...).max
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
I tried to migrate my email validation schema as described in the guide.
This is the simple example: z.email('Invalid e-mail. Make sure you enter the correct e-mail address.').max(255).nonempty('Email is required')
z.email('Invalid e-mail. Make sure you enter the correct e-mail address.').max(255).nonempty('Email is required')
TS doesn't show any type errors on that schema definition but in runtime I get z.email(...).max is not a function
z.email(...).max is not a function
BTW Is there any playground I can use to track bug fixes and test new features of v4?
The text was updated successfully, but these errors were encountered:
Seems similar to #4162
Sorry, something went wrong.
No branches or pull requests
I tried to migrate my email validation schema as described in the guide.
This is the simple example:
z.email('Invalid e-mail. Make sure you enter the correct e-mail address.').max(255).nonempty('Email is required')
TS doesn't show any type errors on that schema definition but in runtime I get
z.email(...).max is not a function
BTW Is there any playground I can use to track bug fixes and test new features of v4?
The text was updated successfully, but these errors were encountered: