Khan/genqlient

Expand the flatten option to support fields

Open

#30 opened on 2021年4月22日

GitHub で見る
 (3 comments) (0 reactions) (1 assignee)Go (141 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,310 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド