uniqueOperationNamesRule function

Visitor uniqueOperationNamesRule(
  1. SDLValidationCtx ctx
)

Unique operation names

A GraphQL document is only valid if all defined operations have unique names.

See https://spec.graphql.org/draft/#sec-Operation-Name-Uniqueness

Implementation

Visitor uniqueOperationNamesRule(
  SDLValidationCtx ctx, // ASTValidationContext
) =>
    UniqueOperationNamesRule();