$dynamicRef doesn't find $dynamicAnchor overrides in root schemas without $id
维护者通常 1 天内回复
评估
调研方向
从 python-jsonschema/jsonschema#1497 中引用的最小复现开始,跟踪 referencing 中 $dynamicRef 和 $dynamicAnchor 的解析入口。确认不带 $id 的根 schema 会遵循其 $defs 中的覆盖,然后添加覆盖测试,表明选择的是覆盖而不是模板 anchor。
由索引模型根据 Issue 内容生成。
描述
$dynamicRef doesn't find $dynamicAnchor overrides in root schemas without $id
When a root schema has no $id and uses $ref to pull in a template containing $dynamicRef, the $dynamicRef ignores any $dynamicAnchor overrides defined in the root schema's $defs. It falls back to the template's own $dynamicAnchor instead.
Filed from python-jsonschema/jsonschema#1497. The root cause is in referencing — see that issue for the minimal reproducer.
- 主要语言
- Python
- 星标
- 53
- 派生
- 32
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 12
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-jsonschema/referencing 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
python-jsonschema/referencing#257 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 20/100
python-jsonschema/referencing#226 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
python-jsonschema/referencing#178 · 6 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
python-jsonschema/referencing#160 · 3 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
python-jsonschema/referencing#119 · 4 条评论 ·
维护者通常 1 天内回复
查看 python-jsonschema/referencing 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
EvaluationSuite.run fails with default args_for_task and mutates supplied kwargs可能已有人在做 @ktz03 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
huggingface/evaluate#825 ·
维护者通常 1 天内回复
-
dependencies feature github_actions good first issue
难度 2/5 1-3 小时 新手友好度 62/100
wemake-services/wemake-django-template#3149 ·
维护者通常 1 天内回复
-
upstream update
难度 2/5 1-3 小时 新手友好度 65/100
conan-io/conan-center-index#31142 ·
维护者通常 1 天内回复
-
area:core bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复