Skip to main content

UniqueEnumValueNamesRule

Callable

  • UniqueEnumValueNamesRule(context: SDLValidationContext): ASTVisitor

  • Unique enum value names

    A GraphQL enum type is only valid if all its values are uniquely named.


    Parameters

    • context: SDLValidationContext

    Returns ASTVisitor