Symfony version(s) affected
6.2.8
Description
the constraint Expression does not work on symfony 6.2.8
How to reproduce
to reproduce use constraint Expression:
#[Assert\When(
expression: 'this.is360FeedBack()',
constraints: [
new Assert\Sequentially([
new Assert\NotNull,
new Assert\Expression(
'this.isValidModel()',
message: "exception.model.not_valid"),
])
],
)]
Possible Solution
No response
Additional Context
No response