Consider making the `query` parameter optional?
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- api
调研方向
首先阅读链接的 pull request 讨论以及 GraphQL over HTTP 规范中关于查询参数的表述,然后查看 graphql-yoga 关于空查询参数的讨论。完成的标准是就省略查询参数是否可以支持持久化操作并同时保持符合规范作出决定并记录下来。
由索引模型根据 Issue 内容生成。
描述
Reference:
https://github.com/graphql/graphql-over-http/pull/175#discussion_r917932366
just pulling this out in case there is not another issue to track
in my view, query should be optional so that persisted operations, automatic or otherwise, could be considered spec-compliant.
The spec language would say something like that “the document to be executed, when sent within the http request, should be contained within the optional query parameter. When not included, the implementation can use an implementation defined method of determining the operation…”
otherwise, spec compliant implementations might be tempted to send empty query parameters to be compliant. See: https://github.com/dotansimha/graphql-yoga/pull/1589#discussion_r944641768
Tagging below discussants from those issues:
@enisdenjo
@ardatan
@glasser
@benjie
- 主要语言
- JavaScript
- 星标
- 428
- 派生
- 70
- 平均合并
- 11 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
graphql/graphql-over-http 的其他 Issue
-
难度 3/5 半天 新手友好度 25/100
graphql/graphql-over-http#446 · 3 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
graphql/graphql-over-http#415 ·
-
难度 5/5 一周以上 新手友好度 25/100
graphql/graphql-over-http#392 · 4 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
graphql/graphql-over-http#242 · 8 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
graphql/graphql-over-http#205 · 18 条评论 ·
查看 graphql/graphql-over-http 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 66/100
remotion-dev/remotion#13341 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
svix/svix-webhooks#2808 ·
维护者通常 1 天内回复