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

Minimal GraphQL client

Results 222 graphql-request issues
Sort by recently updated
recently updated
newest added

Hi, I am trying to use `graphql-request` in my stimulus controller, but I am getting this error in browser console: Uncaught SyntaxError: import not found: GraphQLClient. Controller looks like this:...

```tsx const abortController = new AbortController(); // the dom one, not the npm one client.request({ // ... signal: abortController.signal, }); ``` ``` Type 'AbortSignal' is not assignable to type 'AbortSignal'....

Some framework such as Quarkus,... return content-type: application/graphql+json; charset=UTF-8 Expectation: Support content-type: application/graphql+json in [graphql-request](https://github.com/prisma-labs/graphql-request)

Hi, I have a `exports is not defined` error when importing from `graphql-request` in version higher than 3. I'm now using version 2.0.0 to make it work. My project is...

Hey everyone, not sure if this is something I'm doing, but I am trying to use the latest middleware features referenced here (https://github.com/prisma-labs/graphql-request/pull/170), and not able to trigger the `responseMiddleware`...

Using graphql-request in a React Native project results in this warning: ``` WARN Require cycle: index.js -> src/App.tsx -> node_modules/graphql-request/dist/index.js -> node_modules/graphql-request/dist/graphql-ws.js -> index.js ``` Things _seem_ to work regardless...

Hey everyone! I'm trying to implement a refresh-token strategy using the new middleware feature to request the new tokens if the token has expired. To get the new token, I've...

Using `graphql-request` on a recently updates Vite3 project. On Vite 2x it works normally. but when updated to 3x. Facing this error: ``` TypeError: distExports is not a function ```...

This is just a question. We need to utilize the @defer directive in a number of our queries. I couldn't find any documentation or mentions of it - but does...