Khan/genqlient

Expand the flatten option to support fields

Open

#30 aperta il 22 apr 2021

Vedi su GitHub
 (3 commenti) (0 reazioni) (1 assegnatario)Go (141 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (1310 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor