You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
378 B
13 lines
378 B
import { ASTVisitor } from '../../language/visitor';
|
|
import { ValidationContext, SDLValidationContext } from '../ValidationContext';
|
|
|
|
/**
|
|
* Known directives
|
|
*
|
|
* A GraphQL document is only valid if all `@directives` are known by the
|
|
* schema and legally positioned.
|
|
*/
|
|
export function KnownDirectivesRule(
|
|
context: ValidationContext | SDLValidationContext,
|
|
): ASTVisitor;
|