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
import the CodegenConfig types from @graphql-codegen/cli
check the pluckConfig types
Expected behavior
should get correct types of pluckConfig
Screenshots or Videos
No response
Platform
"@graphql-codegen/cli": "2.13.11"
Codegen Config File
import{CodegenConfig}from'@graphql-codegen/cli';constconfig: CodegenConfig={pluckConfig: {magicComment: 'GraphQL',// ^? incorrect type, should be `gqlMagicComment`globalIdentifier: 'gql',// ^? incorrect type, should be `globalGqlIdentifierName`},}
Additional context
If you are all good, I can create a PR for fixing this.
The text was updated successfully, but these errors were encountered:
Describe the bug
The current types definition of config is as follows left side:
This is incorrect and differs from the document.
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
codegen.ts
config.CodegenConfig
types from@graphql-codegen/cli
pluckConfig
typesExpected behavior
should get correct types of
pluckConfig
Screenshots or Videos
No response
Platform
Codegen Config File
Additional context
If you are all good, I can create a PR for fixing this.
The text was updated successfully, but these errors were encountered: