Open udeyrishi opened 1 year ago
@graphql-codegen/typescript-react-query
This ticket is essentially the same as https://github.com/dotansimha/graphql-code-generator-community/issues/331, except it also applies to the package @graphql-codegen/typescript-react-query@4.1.0 when used with graphql-request as the fetcher.
@graphql-codegen/typescript-react-query@4.1.0
graphql-request
n/a
Not to get any type errors.
No response
graphql
@graphql-codegen/cli
@graphql-codegen/near-operation-file-preset
@graphql-codegen/typescript
@graphql-codegen/typescript-operations
I have made a pull request to fix this. @saihaj Would you help comment/review on the PR?
Which packages are impacted by your issue?
@graphql-codegen/typescript-react-query
Describe the bug
This ticket is essentially the same as https://github.com/dotansimha/graphql-code-generator-community/issues/331, except it also applies to the package
@graphql-codegen/typescript-react-query@4.1.0
when used withgraphql-request
as the fetcher.Your Example Website or App
n/a
Steps to Reproduce the Bug or Issue
Expected behavior
Not to get any type errors.
Screenshots or Videos
No response
Platform
graphql
version: 16.7.1@graphql-codegen/cli
: 4.0.0,@graphql-codegen/near-operation-file-preset
: 2.5.0,@graphql-codegen/typescript
: 4.0.1,@graphql-codegen/typescript-operations
: 4.0.1,@graphql-codegen/typescript-react-query
: ^4.1.0,Codegen Config File
No response
Additional context
No response