Skip to content

Obtain JUST the message from a ValidationMessage? #412

Open
@ghost

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions