Replies: 6 comments
-
Can you give an example schema where the pointer is inadequate? |
Beta Was this translation helpful? Give feedback.
-
Every schema. The pointer is a pointer for the data structure, not the schema itself. |
Beta Was this translation helpful? Give feedback.
-
Gotcha - I don't think we currently have a mechanism for that. You're welcome to submit a PR that implements it though. Please note that if you do this, performance is a consideration. |
Beta Was this translation helpful? Give feedback.
-
@adjenks would this still be something you would consider following up on? At the moment I'm very happy we are able to cleanup the repo and have revived it. |
Beta Was this translation helpful? Give feedback.
-
@DannyvdSluijs I don't think I have the time right now either unfortunately. |
Beta Was this translation helpful? Give feedback.
-
@adjenks I’ve migrated this one to a discussion to keep the issue list clear for long term ideas that might of might not be picked up |
Beta Was this translation helpful? Give feedback.
-
Schemas can have title properties, as well as description. When an error is returned, I would like to get access to the title and possibly also the description field of that subschema where the error was identified. Is this possible? Currently we get the property, pointer, message and constraint. However, in a nested schema, the pointer doesn't really tell you where to look within the schema itself, so it's difficult to recover the descriptive properties, or extended ("x-property") properties, of a schema. Is there a way to access these in the context of an error that I'm just not noticing?
Beta Was this translation helpful? Give feedback.
All reactions