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
{{ message }}
Repository navigation
Using validation annotations in doctrine entity #57
I forgot these constraints were Symfony ones. Yes I was talking about the Assert one.
Using a StepAggregator where can I validate the object already transformed ?
I could override __invoke in ValidatorFilter but it receives the array.
Activity
ddeboer commentedon Sep 8, 2017
You’re talking about the
@Assert\NotBlank, right? Actually, that’s not Doctrine-specific, but a more generic (Symfony) validation constraint.What you’re then asking for, is a way to validate some PHP object with annotations. This should be as simple as:
Perhaps we could add this to our
ValidatorStep.Glideh commentedon Sep 8, 2017
I forgot these constraints were Symfony ones. Yes I was talking about the
Assertone.Using a
StepAggregatorwhere can I validate the object already transformed ?I could override
__invokeinValidatorFilterbut it receives the array.[-]Triggering doctrine validation annotations[/-][+]Using validation annotations in doctrine entity[/+]