You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
511 B
15 lines
511 B
4 months ago
|
import type { ASTVisitor } from '../../language/visitor';
|
||
|
import type { ValidationContext } from '../ValidationContext';
|
||
|
/**
|
||
|
* Overlapping fields can be merged
|
||
|
*
|
||
|
* A selection set is only valid if all fields (including spreading any
|
||
|
* fragments) either correspond to distinct response names or can be merged
|
||
|
* without ambiguity.
|
||
|
*
|
||
|
* See https://spec.graphql.org/draft/#sec-Field-Selection-Merging
|
||
|
*/
|
||
|
export declare function OverlappingFieldsCanBeMergedRule(
|
||
|
context: ValidationContext,
|
||
|
): ASTVisitor;
|