UniqueVariableNamesRule.d.ts 318 B

1234567891011
  1. import { ASTVisitor } from '../../language/visitor';
  2. import { ASTValidationContext } from '../ValidationContext';
  3. /**
  4. * Unique variable names
  5. *
  6. * A GraphQL operation is only valid if all its variables are uniquely named.
  7. */
  8. export function UniqueVariableNamesRule(
  9. context: ASTValidationContext,
  10. ): ASTVisitor;