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

/**
 * Unique input field names
 *
 * A GraphQL input object value is only valid if all supplied fields are
 * uniquely named.
 */
export function UniqueInputFieldNamesRule(
  context: ASTValidationContext,
): ASTVisitor;