-
Hi, I have an InputType with an Assert which does not fail on a wrong email address. What am I doing wrong? InputType:
Mutation:
Thank you for your help 🙏 |
Beta Was this translation helpful? Give feedback.
Answered by
oojacoboo
Nov 15, 2022
Replies: 1 comment 1 reply
-
@michilehr Is the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
michilehr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@michilehr Is the
validator
property executing your assertions? Do you have Doctrine annotations setup to read@Assert
? What version of PHP are you using? You should probably try to start using attributes and not phpdoc annotations with Doctrine.