graphprotocol / graph-node

Graph Node indexes data from blockchains such as Ethereum and serves it over GraphQL
https://thegraph.com
Apache License 2.0
2.92k stars 982 forks source link

GraphQL field ordering is _still_ not spec compliant #3235

Open lutter opened 2 years ago

lutter commented 2 years ago

When running a query like { _meta { block { number } } things { id }} the response contains things first and _meta at the end. This is most likely because we pick fields apart here and then put them together without considering their ordering in the query.

azf20 commented 2 years ago

Good catch - to confirm the response is deterministic, but not spec-compliant?

azf20 commented 2 years ago

Added to the GraphQL API board @dotansimha