Server usage
I'm trying to use this extension in a apollo server project.
There exists multiple .graphql files defining the schema and the generator updates a json (introspection) and a generated.ts file (typescript, typescript-resolvers).
The usage in VSCode with this extension is problematic.
It only works (even for the types) if in the file I'm saving there is a query, but I do not want to create queries, I just wan't to create the schema in these .graphql files.
Without a query an error is generated: Codegen threw 2 errors, first one: Unable to find any GraphQL type definitions for the following pointers:
this only works on FE projects. PRs to enable BE usage would be welcome