Skip to content

Cross draft tests #587

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

Merged
merged 5 commits into from
Aug 16, 2022
Merged

Cross draft tests #587

merged 5 commits into from
Aug 16, 2022

Conversation

gregsdennis
Copy link
Member

Replaces #210

I've put these in optional for now. My validator passes all of them, though.

The approach was to create two remotes: one that uses a new keyword in that draft, and one that uses a new keyword in the next draft (which should be ignored).

Then tests just reference those remotes and check to see if those keywords are processed accordingly.

@gregsdennis gregsdennis requested a review from a team as a code owner August 14, 2022 22:17
@karenetheridge
Copy link
Member

Please could you rebase with main, as you are based off of commits with bad $ids?

@gregsdennis
Copy link
Member Author

Odd. I thought I pulled before making changes.

@Julian
Copy link
Member

Julian commented Aug 16, 2022

Thanks! These seem good to go, appreciated!

@Julian Julian merged commit b3c8672 into main Aug 16, 2022
@Julian Julian deleted the cross-draft-tests branch August 16, 2022 06:27
@Julian Julian mentioned this pull request Aug 16, 2022
Julian added a commit to python-jsonschema/jsonschema that referenced this pull request Aug 16, 2022
In other words, a draft 7 schema may reference a draft 2019 schema
(or vice versa), and now correctly apply the 2019 rules within the
referenced schema.

Refs: json-schema-org/JSON-Schema-Test-Suite#587
davishmcclurg added a commit to davishmcclurg/json_schemer that referenced this pull request May 16, 2023
This test references draft2019-09, which isn't supported.

Introduced here: json-schema-org/JSON-Schema-Test-Suite#587
davishmcclurg added a commit to davishmcclurg/json_schemer that referenced this pull request May 16, 2023
This test references draft2019-09, which isn't supported.

Introduced here: json-schema-org/JSON-Schema-Test-Suite#587
davishmcclurg added a commit to davishmcclurg/json_schemer that referenced this pull request May 22, 2023
This test references draft2019-09, which isn't supported.

Introduced here: json-schema-org/JSON-Schema-Test-Suite#587
davishmcclurg added a commit to davishmcclurg/json_schemer that referenced this pull request May 26, 2023
This test references draft2019-09, which isn't supported.

Introduced here: json-schema-org/JSON-Schema-Test-Suite#587
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants