Was having a hard time debugging why a curl to my GraphQL server was not going through.
Was hit with {"errors":[{"message":"Cannot read property 'definitions' of undefined"}]}
Turns out i was not sending a query in my post body. Can we throw an error if a request is sent to the server with no query?
Was having a hard time debugging why a curl to my GraphQL server was not going through.
Was hit with
{"errors":[{"message":"Cannot read property 'definitions' of undefined"}]}Turns out i was not sending a query in my post body. Can we throw an error if a request is sent to the server with no query?