-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Symfony version(s) affected
6.2.8
Description
Since 6.2.8 version the constraint "Expression" throw this exception:
Symfony\Component\Validator\Exception\ValidatorException: Constraint validator "validator.expression" does not exist or is not enabled. Check the "validatedBy" method in your constraint class "Symfony\Component\Validator\Constraints\Expression".
How to reproduce
Use an Assert\Expression
in an Entity.
Try to validate an entity with validator->validate()
Possible Solution
No response
Additional Context
No response