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#
| Attribute | Type | Description |
|---|---|---|
operation | AnyOperation | |
request | GraphQLRequest | |
next | Callable[[GraphQLRequest], Effect[ExecutionResult, GraphQLClientError]] |
Functions#
__init__#
__init__(*, operation, request, next) -> None| Parameter | Type | Description |
|---|---|---|
operation | AnyOperation | |
request | GraphQLRequest | |
next | Callable[[GraphQLRequest], Effect[ExecutionResult, GraphQLClientError]] |