Skip to content

"embeddedGenerator is not a function" with v4.1.0 #172

Open
@sregg

Description

@sregg

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions