Unexpected order of properties in response #3218
Unanswered
marceloverdijk
asked this question in
Q&A
Replies: 2 comments
-
Bump. Note that is quite an annoying issue when running GraphQL queries during a demo. As per the GraphQL spec the order of the requested fields should be preserved in the returned result: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted a reproduction in #3256 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed having a query like:
the response is:
In the response I would expect the order of the fields in the same order as requested.
But in the response the
name
field is before thecode
field.This is quite annoying when testing an server, or even thinking about exposing a GraphQL service to (semi) business people that e.g. before used SQL to query data.
Is this something that can be configured?
Beta Was this translation helpful? Give feedback.
All reactions