OverlappingFieldsCanBeMergedRule.d.ts 424 B

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