Closed egze closed 6 months ago
pg_jsonschema is a very light weight wrapper around jsonschema-rs. This project bubbles up error messages from that underlying library so I'd recommend opening this on the jsonschema-rs issue tracker if you have thoughts on how he error messages could be improved
Bug report
The validation error messages are too unspecific. It would help to know the path to the field that has errors.
Describe the bug
Example query
produces the error message
It would be great to see a json-path to the field. Something like so:
Otherwise the error message if not actionable.