You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... which is that you can use std::bind() to pass the original schema path to the callback. However, I'm not sure that's going to do the right thing with deeply nested refs. If a refs b which refs c, then AIUI c should be relative to b rather than a?
I'm trying to use the fetchDocument/freeDocument callbacks to load $ref schemas.
My understanding is that if file
c:/my/schemas/test.json
contains something like this:.. that the validator should look for a file
c:/my/schemas/commonschema.json
?The fetchDocument callback is passed
commonschema.json
, but how do I know the directory containing the parent schema?I'm probably missing something obvious here....
The text was updated successfully, but these errors were encountered: