Khan/genqlient

Expand the flatten option to support fields

Open

#30 创建于 2021年4月22日

在 GitHub 查看
 (3 评论) (0 反应) (1 负责人)Go (141 fork)github user discovery
enhancementhelp wanted

仓库指标

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

描述

If you do mutation { MyMutation { error { code } } }, or something, we should be able to just return (code string, err error), at least if you ask us too. This would be a nice convenience -- the helper's callers no longer have to know as much about the query structure -- but the rules and logic to do it are surprisingly subtle.

贡献者指南