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
I am facing a rather strange issue: it seems to be not possible to return just the message part from a ValidationMessage. Calling .getMessage() or .toString() returns the JSONPath associated with the error, and then the message.
It is obviously possible to extract the message text from that by editing the string itself but that seems rather hacky. Is there a standard way to retrieve the bare message itself?
The text was updated successfully, but these errors were encountered:
Hello!
I am facing a rather strange issue: it seems to be not possible to return just the message part from a
ValidationMessage
. Calling.getMessage()
or.toString()
returns the JSONPath associated with the error, and then the message.It is obviously possible to extract the message text from that by editing the string itself but that seems rather hacky. Is there a standard way to retrieve the bare message itself?
The text was updated successfully, but these errors were encountered: