Skip to main content

UniqueVariableNamesRule

Callable

  • UniqueVariableNamesRule(context: ASTValidationContext): ASTVisitor

  • Unique variable names

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


    Parameters

    • context: ASTValidationContext

    Returns ASTVisitor