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