Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/executorsrcfunctionsassertValidExecutionArguments

Function: assertValidExecutionArguments()

assertValidExecutionArguments<TVariables>(schema, document, rawVariableValues): void

Defined in: packages/executor/src/execution/execute.ts:372

Internal

Essential assertions before executing to provide developer feedback for improper use of the GraphQL library.

Type Parameters

TVariables

TVariables

Parameters

schema

GraphQLSchema

document

TypedDocumentNode<any, TVariables>

rawVariableValues

Maybe<TVariables>

Returns

void