Khan/genqlient

Expand the flatten option to support fields

Open

#30 ouverte le 22 avr. 2021

Voir sur GitHub
 (3 commentaires) (0 réactions) (1 assigné)Go (141 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 310 stars)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur