Closed roma0297 closed 2 years ago
I expect that email email@gmail won't pass the validation
email@gmail
Email email@gmail Is passing the validation
@Post
@Email
No response
3.3.0
I think you are using @Email from javax.validation.constraints.Email? So, it is not an issue of the Micronaut framework, according to the answer on StackOverflow, the email@gmail is a valid email.
javax.validation.constraints.Email
Link - https://stackoverflow.com/questions/50535214/javax-validation-constraints-email-matching-invalid-email-address
Expected Behavior
I expect that email
email@gmail
won't pass the validationActual Behaviour
Email
email@gmail
Is passing the validationSteps To Reproduce
@Post
controller@Email
annotation to one of the string fields in the request bodyemail@gmail
to the requestEnvironment Information
No response
Example Application
No response
Version
3.3.0