graphql-go / graphql

An implementation of GraphQL for Go / Golang
MIT License
9.82k stars 836 forks source link

introspection: Keep user-defined order for arguments #654

Closed aluzzardi closed 1 year ago

aluzzardi commented 1 year ago

This change allows to preserve the order in which arguments have been defined in introspection queries.

I realize this is a breaking API change and therefore might not make sense, just throwing it here for review.

coveralls commented 1 year ago

Coverage Status

Coverage increased (+0.004%) to 92.055% when pulling 034770d765bece4a5c6d1c086d0613e12778bba1 on aluzzardi:conserve-args-ordering into 09272f35006712d597c0446258874ce7ff8919fb on graphql-go:master.