dotansimha / dotansimha/graphql-code-generator-community

@graphql-codegen/typescript-react-query@4.1.0 incompatible with graphql-request v6.0.0+ when using graphql-request as the fetcher

Open
#367 1 comment 7 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
137
Forks
195
Avg merge
6h 20m
Merged PRs (30d)
16

Description

### 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 with `graphql-request` as the fetcher.

### Your Example Website or App

n/a

### Steps to Reproduce the Bug or Issue

* Update graphql-request to 6.0.0
* Generate typings

### Expected behavior

Not to get any type errors.

### Screenshots or Videos

_No response_

### Platform

- OS: macOS
- NodeJS: 18.16.0
- `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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.