Message context information is not enough to build a custom message

Issue #244 new
Jorge Garces created an issue

We would like to get the message information to have control over how the message is created (we need, for example, to be able to internationalize the messages). This is not currently possible as the message is returned as a string, and the context does not have the required fields (instance path, validation keyword, what was expected, what was found…)

We would like to add a processingContext property to the ValidationReport.Message interface, that would contain the information from ProcessingMessage found in SchemaValidator.

We are happy to open a PR with this change.

Comments (1)

  1. Log in to comment