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?
A custom validator might want to implement its behaviour based on the effective
@Validation
properties aggregated in aPropertyValidation
model. MaybePropertyValidation
should implement the@Validation
interface so the effective configuration can be passed to customValidator
s in their constructor?Useful candidates:
caseInsensitive
allowNull