Connection Field Execution Context
interface ConnectionFieldExecutionContext<O : Object, Q : Query, A : ConnectionArguments, R : Connection<*, *>> : FieldExecutionContext<O, Q, A, R> (source)
A FieldExecutionContext for connection fields, with typed access to ConnectionArguments.
Resolvers typically don't interact with the arguments directly — viaduct.api.internal.ConnectionBuilder reads them internally when building edges and pageInfo. Call ctx.arguments.toOffsetLimit() directly only when you need the offset/limit to pass to a backend before using the builder.
Parameters
O
The parent object type containing this connection field.
Q
The query type for data fetching.
A
The connection arguments type (first, after, last, before).
R
The connection output type.
See also
Connection Builder