You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For method validation on arguments or return values that are containers, it would be useful to have access to the unwrapped value. For lists, arrays, and maps it is possible to get the containerIndex or containerKey from the next Path.Node and use that to get the value, but there is nothing for Iterable and other containers.
ConstraintViolation exposes part of the object graph through rootBean and leafBean. Perhaps Path.Node could provide access to the unwrapped value associated with that part of the property path, but there may be other ways.
The text was updated successfully, but these errors were encountered:
For method validation on arguments or return values that are containers, it would be useful to have access to the unwrapped value. For lists, arrays, and maps it is possible to get the
containerIndex
orcontainerKey
from the nextPath.Node
and use that to get the value, but there is nothing forIterable
and other containers.ConstraintViolation
exposes part of the object graph throughrootBean
andleafBean
. PerhapsPath.Node
could provide access to the unwrapped value associated with that part of the property path, but there may be other ways.The text was updated successfully, but these errors were encountered: