graphql
Version:
A Query Language and Runtime which can target any service.
11 lines (10 loc) • 335 B
TypeScript
import type { ASTVisitor } from '../../language/visitor';
import type { SDLValidationContext } from '../ValidationContext';
/**
* Unique enum value names
*
* A GraphQL enum type is only valid if all its values are uniquely named.
*/
export declare function UniqueEnumValueNamesRule(
context: SDLValidationContext,
): ASTVisitor;