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
I have a project that uses graphql-codegen for creating typings for typescript. I uses multiple .ts files to create the schema.
While migrating it, I changed the codegen.yml to a .graphqlrc.yml file and added the overrides from the documentation to the .eslintrc.yml.
Immediately, my IDE finds eslint errors in my files.
Parsing error: Unable to find any GraphQL type definitions for the following pointers:
- src/server/schema/**/*.tseslint
Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: src/server/schema/user/type-defs.ts/1_/Users/aj/Developer/apollo-base/src/server/schema/user/type-defs.ts.
The file must be included in at least one of the projects provided.eslint
I did find code files supported in CodeGen but after this I see they're not shown in Config documentation. Is this not allowed?
The text was updated successfully, but these errors were encountered:
I have a project that uses
graphql-codegen
for creating typings for typescript. I uses multiple.ts
files to create the schema.While migrating it, I changed the
codegen.yml
to a.graphqlrc.yml
file and added the overrides from the documentation to the.eslintrc.yml
.Immediately, my IDE finds
eslint
errors in my files.I did find code files supported in CodeGen but after this I see they're not shown in Config documentation. Is this not allowed?
The text was updated successfully, but these errors were encountered: