-
-
Notifications
You must be signed in to change notification settings - Fork 219
Test property named $ref, containing an actual $ref #392
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 property named $ref, containing an actual $ref #392
Conversation
this looks similar to #383. |
@karenetheridge Thanks! Those test cases are quite helpful for what I'm working on. The bug this PR covers in my implementation is a bit different. (I don't see any Since this test case broke my implementation, I figured it was worth sharing the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This is a good test as some implementations do indeed attempt to parse every two points about this test in particular:
|
That'd be good as an additional test, thanks. I'm happy to add it. For my implementation, that wouldn't have triggered the bug this PR is targeted for. (My specific issue is when "$ref" is on the validation path, and then the validator tries to apply an actual "$ref" keyword. It was messing up the way I determine the base URI to resolve the $ref against.)
👍 good point. Thanks! |
Done backporting the cases! |
Thanks, backport looks good to me, so merging this too -- sounds like possibly there was a follow-up test we were considering? If so probably perfectly good to do that in a follow-up PR if needed. |
No description provided.