Skip to main content

UniqueDirectiveNamesRule

Callable

  • UniqueDirectiveNamesRule(context: SDLValidationContext): ASTVisitor

  • Unique directive names

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


    Parameters

    • context: SDLValidationContext

    Returns ASTVisitor