Overview
ValidationAnnotationUtils currently looks up @Validated as a meta-annotation at arbitrary depths (e.g., when used as a meta-meta-annotation) in determineValidationGroups() but only as a "directly present" meta-annotation in determineValidationHints().
For consistency, we should find @Validated as a meta-annotation at arbitrary depths in determineValidationHints() as well.
Related Issues
Overview
ValidationAnnotationUtilscurrently looks up@Validatedas a meta-annotation at arbitrary depths (e.g., when used as a meta-meta-annotation) indetermineValidationGroups()but only as a "directly present" meta-annotation indetermineValidationHints().For consistency, we should find
@Validatedas a meta-annotation at arbitrary depths indetermineValidationHints()as well.Related Issues
@Lazyas a meta-annotation at arbitrary depths #36306