UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

10 lines (8 loc) 303 B
import { ASTVisitor } from '../../language/visitor'; import { SDLValidationContext } from '../ValidationContext'; /** * Unique type names * * A GraphQL document is only valid if all defined types have unique names. */ export function UniqueTypeNamesRule(context: SDLValidationContext): ASTVisitor;