[BUG][strapi-graphql] graphql-request type issue
See original GitHub issueHi,
Due to the difference in typescript between the latest version of graphql-request and the version of graphql-request@3.5.0 used in the strapi-graphql package, I get an error as follows. Can be upgrade or change to other usages of npm.
Argument of type 'import("D:/*****/node_modules/graphql-request/dist/index").GraphQLClient' is not assignable to parameter of type 'import("D:/*****/node_modules/@pankod/refine-strapi-graphql/node_modules/graphql-request/dist/index").GraphQLClient'. Type 'GraphQLClient' is missing the following properties from type 'GraphQLClient': batchRequests, setEndpointts(2345)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Forming calls with GraphQL - GitHub Docs
We know issues is a connection because it has the IssueConnection type. To retrieve data about individual issues, we have to access the...
Read more >Making GraphQL Requests using HTTP Methods
To make a GraphQL request using the POST HTTP method, we pass the following properties into the JSON body of the request.
Read more >Five Common Problems in GraphQL Apps (And How to Fix ...
Namely, you need one schema for your database, and another one for your GraphQL endpoint. Not only is it frustrating to have to...
Read more >Build a GraphQL app in Node.js with TypeScript and graphql ...
So how do we solve this problem? This is where graphql-request comes in. It is an open source library which lets users perform...
Read more >Serving over HTTP - GraphQL
Your GraphQL HTTP server should handle the HTTP GET and POST methods. GET request#. When receiving an HTTP GET request, the GraphQL query...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @omeraplak, This is good news. Great job!
Hey @emehmet , We’ve released
@pankod/refine-graphql@4.1.0
withgraphql-request
v4 support 💥Also, you can check out GraphQL doc -> https://refine.dev/docs/guides-and-concepts/data-provider/graphql/#usage