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

Test for invalid "$anchor" syntax #301

Closed
2 tasks
handrews opened this issue Nov 11, 2019 · 3 comments · Fixed by #567
Closed
2 tasks

Test for invalid "$anchor" syntax #301

handrews opened this issue Nov 11, 2019 · 3 comments · Fixed by #567
Labels
missing test A request to add a test to the suite that is currently not covered elsewhere.
Milestone

Comments

@handrews
Copy link
Contributor

  • No # allowed (e.g. "$anchor": "foo" is valid, `"$anchor": "#foo" is not)
  • No JSON Pointer syntax (e.g. `"$anchor": "/a/b" is invalid)

There are many other possible invalid forms, but these are the two that people are most likely to think might work.

@handrews handrews added this to the 2019-09 milestone Nov 11, 2019
@Julian
Copy link
Member

Julian commented Nov 20, 2019

This one depends on #244 -- which we should totally do but ugh yeah has not been something I've managed to hit so far... :(

@Julian Julian added the missing test A request to add a test to the suite that is currently not covered elsewhere. label Nov 29, 2019
@ssilverman
Copy link
Member

ssilverman commented Apr 25, 2020

How does this depend on #244? I'm not doubting, just not sure how.

@Julian
Copy link
Member

Julian commented Jul 1, 2022

The above is wrong (my comment), we indeed can do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing test A request to add a test to the suite that is currently not covered elsewhere.
Projects
None yet
3 participants