ソースを参照

fix: properly activate uncle-scope $dynamicAnchor

Sam Jaffe 1 年間 前
コミット
990561a409
1 ファイル変更1 行追加1 行削除
  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);
   }