You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use ExpressionValidator, exception "Constraint validator "validator.expression" does not exist or is not enabled. Check the "validatedBy" method in your constraint class "Symfony\Component\Validator\Constraints\Expression". is throw.
How to reproduce
Just use ExpressionValidator
Possible Solution
remove method
public function validatedBy(): string
{
return 'validator.expression';
}
from Symfony\Component\Validator\Constraints\Expression