uniqueVariableNamesRule function

Visitor uniqueVariableNamesRule(
  1. SDLValidationCtx context
)

Unique variable names

A GraphQL operation is only valid if all its variables are uniquely named.

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

Implementation

Visitor uniqueVariableNamesRule(
  SDLValidationCtx context, // ASTValidationContext
) {
  return _Visitor(context);
}