executableDefinitionsRule function
Visitor
executableDefinitionsRule(
- SDLValidationCtx ctx
Executable definitions
A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions.
See https://spec.graphql.org/draft/#sec-Executable-Definitions
Implementation
Visitor executableDefinitionsRule(
SDLValidationCtx ctx, // ASTValidationContext
) =>
ExecutableDefinitionsRule();