graphql-codegen-vscode icon indicating copy to clipboard operation
graphql-codegen-vscode copied to clipboard

Issue - Codegen threw 1 error, first one: Unable to find any GraphQL type definitions for the following pointers:

Open jameskennethrobinson opened this issue 3 years ago • 4 comments

I'm getting an issue when I save graphql/gql files:

Codegen threw 1 error, first one: Unable to find any GraphQL type definitions for the following pointers:

Codegen works great if I run a simple yarn graphql-codegen

Using codegen/cli 1.21.5

jameskennethrobinson avatar May 21 '22 03:05 jameskennethrobinson

Got a same issue

kieuminhcanh avatar May 21 '22 17:05 kieuminhcanh

Same problem here in a project I'm writing the schema (using *.graphql files as schema).

It works in the client using a schema dump in a .json file.

asfernandes avatar Jul 29 '22 12:07 asfernandes

pity there's been no updates for a year. The extension seems to be unusable due to this

Maximaximum avatar May 09 '23 09:05 Maximaximum

Would love to see a fix for this.

clayrisser avatar Jan 16 '24 22:01 clayrisser