-
-
Notifications
You must be signed in to change notification settings - Fork 216
subschema nested ref in remote ref #421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0fc6b62
to
668f166
Compare
Thanks @willson-chen! Definitely appreciated. Before adding this one do we know for sure this isn't already covered by one of the existing tests? Specifically these are the current (I have not, but definitely we should) |
@Julian I've seen this before. It's not the same scene. |
@karenetheridge sounds like a good point -- just in case -- if you've looked at this, does this scenario look like something untested currently to you too? |
It appears this scenario (a references within a remotely-referenced subschema) is covered by https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/master/tests/draft2019-09/refRemote.json#L18-L51. |
Hm, somehow those can't be the exact same, because my implementation passes those, but fails these. |
@Julian interesting! maybe when you track down the source of your bug you will be able to explain how they differ because the difference is surely quite subtle :) |
Was that meant for this ticket / did you mean to close this? Or was that meant for #424? |
yes, sorry, wrong tab :) |
dc241ee
to
e9db2e5
Compare
So. The difference between this test and existing ones is simply that we don't seem to have tests which resolve a I'll take one last look to be sure we indeed don't have any, but last call here for comments :) And @willson-chen really sorry this took so long. |
268df3b
to
005f708
Compare
005f708
to
13685a6
Compare
OK, I believe I'd broken this test with my forward porting, but now after staring at it for a few hours, I think it's correct now, and have verified both against my implementation and another, so think this is good to go finally... (To again summarize, the key new thing about this test is it involves a 2 step |
The following test scenario is added: The base URI remains unchanged, and multiple layers of nested references are used in the sub-schema.
For details: 601