File tree 2 files changed +5
-6
lines changed 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ Breaking changes:
25
25
* Rename ``session `` parameter to ``cacheid `` in many places
26
26
* Rename public functions in the ``jsonpatch `` module
27
27
28
+ Bug Fixes:
29
+
30
+ * "$dynamicRef" works with non-plain-name fragment URIs
31
+
28
32
Documentation:
29
33
30
34
* Rename `User Guide ` to `Tutorial `
Original file line number Diff line number Diff line change @@ -124,12 +124,7 @@ class DynamicRefKeyword(Keyword):
124
124
def __init__ (self , parentschema : JSONSchema , value : str ):
125
125
super ().__init__ (parentschema , value )
126
126
127
- # this is not required by the spec, but it doesn't make sense
128
- # for a $dynamicRef *not* to end in a plain-name fragment
129
- if (fragment := URI (value ).fragment ) is None or '/' in fragment :
130
- raise JSONSchemaError ('The value for "$dynamicRef" must end in a plain-name fragment' )
131
-
132
- self .fragment = fragment
127
+ self .fragment = URI (value ).fragment
133
128
self .refschema = None
134
129
self .dynamic = False
135
130
You can’t perform that action at this time.
0 commit comments