-
Notifications
You must be signed in to change notification settings - Fork 6
[WIP] Implement initialisation pass of the schema to find all $id references #8
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
base: develop
Are you sure you want to change the base?
Conversation
Because only it knows the correct context for the base URL.
I'd like to merge commit e5ea8ac into develop as the first part of this and then continue with the refactoring. Just to help break this thing into more understandable pieces. This first part replaces the use of strings for URLs in several places with an actual URL type. It also normalises all URLs to always have a fragment (even if empty). Schema loaders are now never given the fragment, as that can't be part of URL fetching anyway. |
This no longer passes even the basic tests.
The draft v7 test suite has been updated to check that this happens as laid in the spec. There are still problems in the spec, but we really do want to pass the test suite.