Trailing dot in validation error message. #519
SawantKunal
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using
quarkus-resteasy-problem
with custom validations. When I'm not usingaddPropertyNode
method, I noticed that when validation fails, the constraint violation path includes an unnecessary trailing dot.Custom validation code -
Example validation error message -
This seems to be caused by empty path segments being included during path serialization. I’ve fixed the issue by adding a null/empty check when serializing the Path, and I’m raising a PR to propose the change. Would appreciate feedback!
Beta Was this translation helpful? Give feedback.
All reactions