1 | import { ASTVisitor } from '../../language/visitor';
|
2 | import { ValidationContext, SDLValidationContext } from '../ValidationContext';
|
3 |
|
4 | /**
|
5 | * Provided required arguments
|
6 | *
|
7 | * A field or directive is only valid if all required (non-null without a
|
8 | * default value) field arguments have been provided.
|
9 | */
|
10 | export function ProvidedRequiredArgumentsRule(
|
11 | context: ValidationContext,
|
12 | ): ASTVisitor;
|
13 |
|
14 | /**
|
15 | * @internal
|
16 | */
|
17 | export function ProvidedRequiredArgumentsOnDirectivesRule(
|
18 | context: ValidationContext | SDLValidationContext,
|
19 | ): ASTVisitor;
|