Skip to content

[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

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from

Conversation

KayEss
Copy link
Member

@KayEss KayEss commented Jul 4, 2019

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.

@KayEss
Copy link
Member Author

KayEss commented Jul 10, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant