Khan / Khan/genqlient

Expand the flatten option to support fields

Open
#30 3 comments 0 reactions 1 assignee Claimed by @benjaminjkraft View on GitHub
enhancement help wanted
Dominant language
Go
Stars
1.3k
Forks
143
Avg merge
4h 50m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.