Skip to content

GQL causes TypeError: "Cannot read properties of undefined (reading 'name')" #85

@sam-super

Description

@sam-super

This query was in some logs:

mutation { 
  __typename 
}

which caused:

TypeError: Cannot read properties of undefined (reading 'name')\n    at QueryComplexity.nodeComplexity (/app/node_modules/graphql-query-complexity/dist/cjs/QueryComplexity.js:105:46

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions