A custom validator might want to implement its behaviour based on the effective @Validation properties aggregated in a PropertyValidation model. Maybe PropertyValidation should implement the @Validation interface so the effective configuration can be passed to custom Validators in their constructor?
Useful candidates:
caseInsensitive
allowNull
A custom validator might want to implement its behaviour based on the effective
@Validationproperties aggregated in aPropertyValidationmodel. MaybePropertyValidationshould implement the@Validationinterface so the effective configuration can be passed to customValidators in their constructor?Useful candidates:
caseInsensitiveallowNull