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
Actually, the property from ConstraintViolation is a path composed of all nested properties separated by . similar to JSONPath, e.g: employee.dependents[0].name.
This structure is not type-safe and it is not flexible. An important improvement would be to implement a linked list or a recursive structure to store each property and its respective parent and convert to JSONPath only when it is necessary, like JSON payloads.
A good inspiration for this feature is Path interface from Bean Validation API.
The text was updated successfully, but these errors were encountered:
Actually, the property from ConstraintViolation is a path composed of all nested properties separated by
.
similar toJSONPath
, e.g:employee.dependents[0].name
.This structure is not type-safe and it is not flexible. An important improvement would be to implement a linked list or a recursive structure to store each property and its respective parent and convert to
JSONPath
only when it is necessary, like JSON payloads.A good inspiration for this feature is Path interface from Bean Validation API.
The text was updated successfully, but these errors were encountered: