[FLOW3-general] A question about property validation in a custom RestController
Davide CD
dmichelangeli at hotmail.com
Wed Apr 25 13:04:17 CEST 2012
Hi!
I would like to check for Validation for an entity that has "Validate" property annotations. For my project, I don't use Fluid:
In my REST controller:
//Here I would like to check for validation (before adding the entity to the repository)??$this->repository->add($entity)
I read about this:$the_validator = $this->validatorResolver->getBaseValidatorConjunction($entity);
But to me is not clear what exactly I have to do with it...
Thanks in advance!Davide
More information about the FLOW3-general
mailing list