class-validator
class-validator copied to clipboard
fix: <valid e-mail is invalid by IsEmail decorator>
Description
I am using class-validator with Nest JS and when I am trying to save this e-mail: [email protected], I`m receiving invalid e-mail but this is a real e-mail.
class-validator version: 0.14.0
Minimal code-snippet showcasing the problem This is the part of code which is validating the e-mail
@IsEmail()
@Index()
email: string;
Expected behavior
Email [email protected] should be accepted
Actual behavior
Email [email protected] is not being accept for decorator IsEmail.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.