We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No response
After we upgraded CLI version to 3.0.0 , our codegen no longer works. We are using the github integration as described here https://the-guild.dev/graphql/codegen/docs/config-reference/schema-field#github
3.0.0
When I investigated the issue, it is caused by the underlying library @whatwg-node/fetch upgrade from v0.6.2 to v0.6.3 .
@whatwg-node/fetch
When I add resolution to the older version, it works.
https://codesandbox.io/p/sandbox/codegen-error-demo-mcyebm
yarn start
"@whatwg-node/fetch": "0.6.2"
yarn install
Code is generated without resolution to the old version.
graphql
@graphql-codegen/*
config: token: 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 rawRequest: true defaultScalarType: unknown overwrite: true generates: types.ts: schema: github:marmelab/GraphQL-example#master:schema.graphql documents: - "document.graphql" plugins: - typescript - typescript-operations - typescript-graphql-request
The text was updated successfully, but these errors were encountered:
@ardatan I think you recently fixed that?
Sorry, something went wrong.
@ardatan any news on this one?
ardatan
No branches or pull requests
Which packages are impacted by your issue?
No response
Describe the bug
After we upgraded CLI version to
3.0.0
, our codegen no longer works. We are using the github integration as described here https://the-guild.dev/graphql/codegen/docs/config-reference/schema-field#githubWhen I investigated the issue, it is caused by the underlying library
@whatwg-node/fetch
upgrade from v0.6.2 to v0.6.3 .When I add resolution to the older version, it works.
Your Example Website or App
https://codesandbox.io/p/sandbox/codegen-error-demo-mcyebm
Steps to Reproduce the Bug or Issue
yarn start
"@whatwg-node/fetch": "0.6.2"
in package.json resolutionsyarn install
yarn start
Expected behavior
Code is generated without resolution to the old version.
Screenshots or Videos
Platform
graphql
version: 16.6.0@graphql-codegen/*
version(s): 3.0.0Codegen Config File
config:
token: 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
rawRequest: true
defaultScalarType: unknown
overwrite: true
generates:
types.ts:
schema: github:marmelab/GraphQL-example#master:schema.graphql
documents:
- "document.graphql"
plugins:
- typescript
- typescript-operations
- typescript-graphql-request
Additional context
No response
The text was updated successfully, but these errors were encountered: