Skip to main content

UniqueTypeNamesRule

Callable

  • UniqueTypeNamesRule(context: SDLValidationContext): ASTVisitor

  • Unique type names

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


    Parameters

    • context: SDLValidationContext

    Returns ASTVisitor