A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
I searched for this in the docs but couldn't find it, is there a defined format of responses we would get from the graphQL queries ?
I realize the bulk and non bulk endpoints have slightly different response formats, and sometimes the errors key can be present alongside the data field and sometimes by itself, which is slightly confusing to me.
I would appreciate if anyone could point me to some documentation about the response formats (Just what fields to be expected in diff scenarios) since it would help me define abstractions around those in my application.
Thanks in advance!
Hey @vedantpuri
Here's the generic response from any GraphQL request (in c#, but you can extend to other languages)-
GraphQLError model:
GraphQLLocation Model: