but is addBeanNode (or addEntityNode) not misleading since we not really add a node?
Wouldn't something like this even better:
constraintValidatorContext .buildConstraintViolationWithTemplate("constraints.CompatiblePersons.gender.message") .addNode("persons") .inIterable().atIndex(0) .addConstraintViolation()
but is addBeanNode (or addEntityNode) not misleading since we not really add a node?
Wouldn't something like this even better: