Message context information is not enough to build a custom message
Issue #244
new
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.
Happy to review a PR for this change if you still want to raise it.