graph-client
graph-client copied to clipboard
Leverage `extensions` in `graph-node` responses
This is an open issue to discuss the option to add some metadata in graph-node
responses, using the extensions
field of GraphQL response.
@lutter @azf20 what do you think about this?
We discussed this with several daaps developers, we think maybe the gateway/graph-node can have an option to return execution/cost/indexing information, and we can have an easy API/tooling on The Graph client to use those (for deciding on preferred indexer/source, collecting some metrics, finding performance bottlenecks and so on)
That makes sense to me - @Jannis what do you think?
There is some corresponding work in graph-node
, and maybe also in Gateways to support? Of course would also need to decide what metadata is of interest etc.
This is available via includeHttpDetailsInExtensions
flag. @dotansimha
Thanks @ardatan ! Closing ;)