Skip to content

utils.memoize2of4 is not a functionΒ #1879

@Jomik

Description

@Jomik

Describe the bug
It complains about a missing function, utils.memoize2of4.

To Reproduce
Steps to reproduce the behavior:

  1. run graphql codegen

Expected behavior
It executes without error and writes my schema to the given file.

Screenshots
image

Versions (please complete the following information):

  • "@graphql-cli/codegen": "2.2.3",
  • "@graphql-codegen/schema-ast": "2.4.1",
  • "graphql-cli": "4.1.0",

Additional context

schema:
  - './schema.graphql'
documents: './src/**/*.{ts,tsx}'
extensions:
  languageService:
    useSchemaFileDefinitions: true
  codegen:
    generates:
      ./schema.graphql:
        schema:
          - ./data/relay-compiler-directives.graphql
          - https://a.url.com/graphql:
              headers:
                Authorization: $GRAPHQL_INTROSPECTION_TOKEN
        plugins:
          - schema-ast
  "resolutions": {
    "graphql": "15.5.3",
    "graphql-config": "4.1.0"
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions