Khan/genqlient

Be less strict about selection-set ordering

Open

#93 ouverte le 15 sept. 2021

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Go (141 forks)github user discovery
enhancementgood first issuehelp wanted

Métriques du dépôt

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

Description

For both the bindings option, and the soon-to-be-added typename option, we validate that two selection sets are equal. Right now we demand that they even have the fields in the same order; ideally we'd allow any equivalent selections. That's surprisingly much work, although it's quite well separated from the rest of the codebase (just modify selectionsMatch in generate/validation.go).

Guide contributeur