Ver Fonte

fix: properly activate uncle-scope $dynamicAnchor

Sam Jaffe há 1 ano atrás
pai
commit
990561a409
1 ficheiros alterados com 1 adições e 1 exclusões
  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);
   }