Feature #35781

Model validation

Added by Julian Wachholz over 9 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Validation
Target version:
-
Start date:
2012-04-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Currently, only (action)method arguments and single properties in a Model can be tagged with @Validate.
In some cases however, it might be useful to validate a model in its entirety, especially if it's quite a complex one that needs rules between multiple properties.

Model validation would occur after all properties have been set and validated.

Right now, one can always annotate the next higher location where the model is used,
but I think that this is redundant and related to the model. Method argument validators should use validation in the action specific context.

No data to display

Also available in: Atom PDF