summaryrefslogtreecommitdiff
path: root/includes/external/school/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.d.ts
blob: 1d0d4f41b37223a22821a27ce83f072064a78a5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';

/**
 * Unique argument names
 *
 * A GraphQL field or directive is only valid if all supplied arguments are
 * uniquely named.
 */
export function UniqueArgumentNamesRule(
  context: ASTValidationContext,
): ASTVisitor;