GitHub

ExecuteOptions

API reference for ExecuteOptions.

What a middleware's execute gets. next fails with GraphQLClientError and, at runtime, with the errors of the middleware further in (Effect's Types.unhandled).

Attributes

AttributeTypeDescription
operationAnyOperation
requestGraphQLRequest
nextCallable[[GraphQLRequest], Effect[ExecutionResult, GraphQLClientError]]

Functions

__init__

__init__(*, operation, request, next) -> None
ParameterTypeDescription
operationAnyOperation
requestGraphQLRequest
nextCallable[[GraphQLRequest], Effect[ExecutionResult, GraphQLClientError]]