UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

11 lines (9 loc) 353 B
import { ASTVisitor } from '../../language/visitor'; import { ValidationContext } from '../ValidationContext'; /** * Known fragment names * * A GraphQL document is only valid if all `...Fragment` fragment spreads refer * to fragments defined in the same document. */ export function KnownFragmentNamesRule(context: ValidationContext): ASTVisitor;