Explorar o código

fix: properly activate uncle-scope $dynamicAnchor

Sam Jaffe hai 1 ano
pai
achega
990561a409
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/jvalidate/schema.h

+ 1 - 1
include/jvalidate/schema.h

@@ -297,7 +297,7 @@ detail::OnBlockExit Node::resolve_anchor(detail::ParserContext<A> const & contex
     return nullptr;
   }
 
-  if (context.version > schema::Version::Draft2019_09 && schema.contains("$dynamicAnchor")) {
+  if (context.version > schema::Version::Draft2019_09) {
     return context.ref.scoped_activate(context.where);
   }