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
There's a type mismatch when passing an instance of GraphQLClient from graphql-request v5 to graphqlRequestBaseQuery.
The error looks like this: Type 'import(".../node_modules/graphql-request/dist/index").GraphQLClient' is not assignable to type 'import(".../node_modules/@rtk-query/graphql-request-base-query/node_modules/graphql-request/dist/index").GraphQLClient'. Types have separate declarations of a private property 'url'.
The text was updated successfully, but these errors were encountered:
The currently-published @rtk-query/graphql-request-base-query has a dependency on graphql-request@4.3.0.
It seems like if you're using npm, forcing an npm install --save graphql-request@4.3.0 will resolve this issue.
There's a type mismatch when passing an instance of GraphQLClient from graphql-request v5 to graphqlRequestBaseQuery.
The error looks like this:
Type 'import(".../node_modules/graphql-request/dist/index").GraphQLClient' is not assignable to type 'import(".../node_modules/@rtk-query/graphql-request-base-query/node_modules/graphql-request/dist/index").GraphQLClient'. Types have separate declarations of a private property 'url'.
The text was updated successfully, but these errors were encountered: