Include `extensions` field in GraphQLError.
还没有人认领这个 Issue。
评估
调研方向
该 issue 指向 graphql/error/base.py,尤其是第 13 行附近的 GraphQLError slot;从那里开始,并将其与 GraphQL 关于 extensions 字段的文档进行比较。添加支持以在 GraphQLError 上暴露 extensions,并考虑应如何验证文档中所述的字段形状。
由索引模型根据 Issue 内容生成。
描述
The GraphQL docs specify a field called extensions is available for a GraphQLError. GraphQL Python does seem to have a 'slot' for this.
Users could add the field using a wrapper, but it looks like something that could easily be added to the class – unless I'm missing something!
- 主要语言
- Python
- 星标
- 371
- 派生
- 174
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
graphql-python/graphql-core-legacy 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
Quiver source未关闭
难度 5/5 一周以上 新手友好度 20/100
graphql-python/graphql-core-legacy#286 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 35/100
graphql-python/graphql-core-legacy#280 · 2 条评论 · 1 个 reaction ·
-
Add support for custom validators in default GraphQL backend可能已有人在做 @JoaRiski 于 2420 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
查看 graphql-python/graphql-core-legacy 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
huggingface/smolagents#2976 ·
维护者通常 1 天内回复
-
bug Triage-Needed
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
FuRongJun-1999/dsh-memory#170 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
pgvector/pgvector-python#163 ·
-
难度 1/5 1 小时以内 新手友好度 82/100
521xueweihan/HelloGitHub#3940 ·