Khan/genqlient

Be less strict about selection-set ordering

Open

#93 aperta il 15 set 2021

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Go (141 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

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

Descrizione

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).

Guida contributor