Skip to main content

UniqueArgumentDefinitionNamesRule

Callable

  • UniqueArgumentDefinitionNamesRule(context: SDLValidationContext): ASTVisitor

  • Unique argument definition names

    A GraphQL Object or Interface type is only valid if all its fields have uniquely named arguments. A GraphQL Directive is only valid if all its arguments are uniquely named.


    Parameters

    • context: SDLValidationContext

    Returns ASTVisitor