UNPKG

424 BTypeScriptView Raw
1import { ASTVisitor } from '../../language/visitor';
2import { ValidationContext } from '../ValidationContext';
3
4/**
5 * Overlapping fields can be merged
6 *
7 * A selection set is only valid if all fields (including spreading any
8 * fragments) either correspond to distinct response names or can be merged
9 * without ambiguity.
10 */
11export function OverlappingFieldsCanBeMergedRule(
12 context: ValidationContext,
13): ASTVisitor;