Skip to content
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

Add relative-json-pointer test with empty string #605

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Add relative-json-pointer test with empty string #605

merged 1 commit into from
Nov 15, 2022

Conversation

santhosh-tekuri
Copy link
Contributor

No description provided.

@santhosh-tekuri santhosh-tekuri requested a review from a team as a code owner November 14, 2022 17:37
@Julian
Copy link
Member

Julian commented Nov 15, 2022

It's helpful for reviewers when submitting PRs to try to include references to the behavior you're testing.

For reference, here that's https://json-schema.org/draft/2020-12/json-schema-validation.html#name-json-pointers and https://datatracker.ietf.org/doc/html/draft-handrews-relative-json-pointer-01#section-3 (where yes it seems this indeed is correctly invalid).

Thanks for submitting.

@Julian Julian merged commit 86c2517 into json-schema-org:main Nov 15, 2022
Julian added a commit to python-jsonschema/jsonschema that referenced this pull request Nov 28, 2022
(This is unlike non-relative pointers, where empty strings are indeed
valid.)

Refs: json-schema-org/JSON-Schema-Test-Suite#605
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.

2 participants