You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Further Information
The nesting format shown above under the "Expected Behaviour" section is the response that is returned by other GraphQL server frameworks such as express-graphql and graphql-yoga. Other errors returned by graphql-http are also not nested twice, such as when sending the following query against the example above.
Screenshot

Expected Behaviour
I expected the error response to be structured like this:
Actual Behaviour
but instead it was nested twice like so:
Debug Information
Minimal example to reproduce:
Code:
Send a query such as:
with variables:
At first glance after briefly debugging it appears as though the error is here in the
makeResponse
function.Further Information
The nesting format shown above under the "Expected Behaviour" section is the response that is returned by other GraphQL server frameworks such as
express-graphql
andgraphql-yoga
. Other errors returned bygraphql-http
are also not nested twice, such as when sending the following query against the example above.Query
Response:
The text was updated successfully, but these errors were encountered: