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
When utilizing @graphql-codegen/cli, I've noticed instances with multiple schema where using skipDocumentsValidation: true, results in the following error:
Describe the bug
When utilizing
@graphql-codegen/cli
, I've noticed instances with multiple schema where usingskipDocumentsValidation: true
, results in the following error:I've traced this issue back to this line /packages/plugins/typescript/typescript/src/index.ts#L68, it occurs when the type variables is undefined yet still passed to the
isIntrospectionType
functionYour Example Website or App
https://github.com/Diizzayy/cgenbug
Steps to Reproduce the Bug or Issue
yarn install
yarn start
Expected behavior
the codgen is supposed to properly skip document validation
Screenshots or Videos
No response
Platform
Darwin
v18.9.0
yarn@1.22.19
graphql
version: 16.6.0@graphql-codegen/*
version(s): 2.7.3Codegen Config File
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: