Khan/genqlient

Be less strict about selection-set ordering

Open

#93 创建于 2021年9月15日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (141 fork)github user discovery
enhancementgood first issuehelp wanted

仓库指标

Star
 (1,310 star)
PR 合并指标
 (PR 指标待抓取)

描述

For both the bindings option, and the soon-to-be-added typename option, we validate that two selection sets are equal. Right now we demand that they even have the fields in the same order; ideally we'd allow any equivalent selections. That's surprisingly much work, although it's quite well separated from the rest of the codebase (just modify selectionsMatch in generate/validation.go).

贡献者指南