Skip to main content

UniqueFieldDefinitionNamesRule

Callable

  • UniqueFieldDefinitionNamesRule(context: SDLValidationContext): ASTVisitor

  • Unique field definition names

    A GraphQL complex type is only valid if all its fields are uniquely named.


    Parameters

    • context: SDLValidationContext

    Returns ASTVisitor