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 recently tried updating a project that uses this plugin, however found that it did not work with the latest @graphql-codegen/cli version or anything above 3.0.0.
I get the following error:
✖ Invalid Codegen Configuration!
Please make sure that your codegen config file has defined plugins list for output "dist/persisted_queri…
It should looks like that:
schema:
- my-schema.graphql
generates:
my-file.ts:
- plugin1
- plugin2
- plugin3
◼ Generate outputs
The config I am using is as follows
schema: "../../data/schema.graphql"
generates:
gen/client.tsx:
plugins:
- add:
content: "/* DO NOT EDIT! This file is auto-generated by graphql-code-generator - see `codegen.yml` */"
- "typescript"
- "typescript-operations"
- "typescript-react-apollo"
dist/persisted_queries/client.json:
- graphql-codegen-persisted-query-ids:
output: client
algorithm: sha256
The text was updated successfully, but these errors were encountered:
I recently tried updating a project that uses this plugin, however found that it did not work with the latest @graphql-codegen/cli version or anything above 3.0.0.
I get the following error:
The config I am using is as follows
The text was updated successfully, but these errors were encountered: