Circular reference detected in input

Issue ID: graphql-data-input-cycle

Description

A circular reference (cycle) has been detected in your API definition. While GraphQL specification allows this, it may not be what you want.

In GraphQL, all types defined in a schema must be unique. If Security Audit encounters a type it has already checked in a particular schema, this means the schema contains a recursive reference which may cause an infinite loop. Security Audit stops if it detects cycle to avoid never-ending audit process.

For more details, see the GraphQL constraints specification.

Remediation

Avoid circular references in your API definition.