I just added the plugin like so: plugins: [ 'typescript-mock-data' ] and got this error when running graphql-codegen:
✔ Parse Configuration
⚠ Generate outputs
✔ Generate to ./src/@generated/graphql/schema.graphql
✔ Generate to ./src/@generated/graphql/index.ts
❯ Generate to ./src
✔ Load GraphQL schemas
✔ Load GraphQL documents
✖ embeddedGenerator is not a function
I just added the plugin like so:
plugins: [ 'typescript-mock-data' ]
and got this error when runninggraphql-codegen
: