Connection Resolver Base
interface ConnectionResolverBase<T, O : GraphQLObject?, Q : Query?, A : ConnectionArguments?, R : Connection<out Any, out Any>?> : FieldResolverBase<T, O, Q, A, S> (source)
Base interface for connection field resolver implementations in the Java Tenant API.
Java equivalent of Kotlin's ConnectionResolverBase. Narrows FieldResolverBase so a connection resolver's arguments are typed as ConnectionArguments and its output as a Connection. Generated connection resolver base classes implement this interface.
Parameters
<T>
the return type of the resolver (the connection GraphQL type)
<O>
the parent object type containing this field
<Q>
the Query root type
<A>
the connection-arguments type for this field
<R>
the connection output type for the selections
Types
Link copied to clipboard
interface Context<O : GraphQLObject?, Q : Query?, A : ConnectionArguments?, R : Connection<out Any, out Any>?> : ConnectionFieldExecutionContext<T, Q, A, R>
Context type alias for connection resolvers, narrowing to ConnectionArguments.