[TYPO3-50-general] RFC: Validation Refactoring
Sebastian Kurfürst
sebastian at typo3.org
Wed Sep 16 12:11:30 CEST 2009
Hey everybody,
There are still some questions we need to discuss about:
- Do we want recursive validation? e.g. in case you submit a Blog
which contains a _new_ post object, the post needs to be validated
automatically as well.
However, we'd need to make sure that only newly submitted fields get
validated...
- Do we automatically want to build validations from the @var
annotations in the model, checking that the values are of the
appropriate type (integer, string, ...)?
For Fluid ViewHelpers, we just wanted to test simple properties as
arguments, and if it is an object, we should use is_a for type
checking. Does this make sense to you?
Greets,
Sebastian
More information about the TYPO3-project-5_0-general
mailing list