Create ParameterErrors for type level constraint
Closes gh-34105
This commit is contained in:
@@ -367,7 +367,7 @@ public class MethodValidationAdapter implements MethodValidator {
|
||||
container = null;
|
||||
}
|
||||
|
||||
if (node.getKind().equals(ElementKind.PROPERTY)) {
|
||||
if (node.getKind().equals(ElementKind.PROPERTY) || node.getKind().equals(ElementKind.BEAN)) {
|
||||
nestedViolations
|
||||
.computeIfAbsent(parameterNode, k ->
|
||||
new ParamErrorsBuilder(parameter, value, container, index, key))
|
||||
|
||||
Reference in New Issue
Block a user