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 |
|
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.