UniqueInputFieldNames.d.ts 405 B

1234567891011121314
  1. import { ASTVisitor } from '../../language/visitor';
  2. import { ASTValidationContext } from '../ValidationContext';
  3. export function duplicateInputFieldMessage(fieldName: string): string;
  4. /**
  5. * Unique input field names
  6. *
  7. * A GraphQL input object value is only valid if all supplied fields are
  8. * uniquely named.
  9. */
  10. export function UniqueInputFieldNames(
  11. context: ASTValidationContext,
  12. ): ASTVisitor;