UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

12 lines (11 loc) 457 B
import type { ASTVisitor } from '../../language/visitor'; import type { SDLValidationContext } from '../ValidationContext'; /** * Unique argument definition names * * A GraphQL Object or Interface type is only valid if all its fields have uniquely named arguments. * A GraphQL Directive is only valid if all its arguments are uniquely named. */ export declare function UniqueArgumentDefinitionNamesRule( context: SDLValidationContext, ): ASTVisitor;