graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

Results 9 graphql-client issues
Sort by recently updated
recently updated
newest added

https://github.com/nordsimon/graphql-client/pull/10 is favourable if working with node backend and `isomorphic-fetch`, but it wasn't on my environment. Allows the fetch implementation to be passed in, as `isomorphic-fetch` was seemingly ignoring proxy/agent...

https://github.com/request/request#requestoptions-callback

Please add the ability to abort request, if it is in progress. See https://developers.google.com/web/updates/2017/09/abortable-fetch

https://github.com/nordsimon/graphql-client/blob/f8d1dcba8a65f290e35b71c883a18094594d6d5a/index.js#L2 I understand by convention `errors` should be an array. But let's take this example when shopify for invalid access-token returns response as ``` { "errors": "[API] Invalid API key...

For an example. I have an array of things that I want to save with one request. Without graphql-client it would look something like this. const query = ` mutation...

I am using `graphql-client` to fetch data from GitHub. Usually, `errors` returned from GitHub looks like this: ```javascript [{"message":"Could not resolve to an Organization with the login of 'GCI-AOSSIE'.","type":"NOT_FOUND","path":["organization"],"locations":[{"line":2,"column":3}]}] ```...

Added `onRequest` and `onResponse` hooks that might be helpful when need to modify requests before sending, or log `req`/`res` objects etc. Updated the readme as well