JSON-Schema-Test-Suite icon indicating copy to clipboard operation
JSON-Schema-Test-Suite copied to clipboard

Add tests for `$dynamicRef` keyword that contains JSON Pointer

Open flaksp opened this issue 3 years ago • 4 comments
trafficstars

Currently, all tests cover only the case where $dynamicRef contains a plain name fragment, e.g.:

{
  "$dynamicRef": "#items"
}

I believe we need more test cases because the question "what will happen if $dynamicRef will contain something but plain name fragment" seems to be popular from people like me who try to investigate how dynamic scope works. And it's confusing that there are no official examples nor in the spec and in the tests.

flaksp avatar Nov 06 '22 19:11 flaksp