Resolver Execution Context
A generic context for resolving fields or types.
Inheritors
Functions
Link copied to clipboard
Creates a serialized GlobalID string for the given Node type and internal ID.
Link copied to clipboard
Executes a sub-mutation against the Mutation root type with no variables.
open fun <T> mutation(operation: MutationFromAnnotation, targetClass: Class<T>): CompletableFuture<T>
Executes an annotated mutation with no variables.
abstract fun <T> mutation(selections: String, variables: Map<String, Any>, targetClass: Class<T>): CompletableFuture<T>
Executes a sub-mutation against the Mutation root type and returns the result as an instance of
targetClass with the requested selections populated.open fun <T> mutation(operation: MutationFromAnnotation, variables: Map<String, Any>, targetClass: Class<T>): CompletableFuture<T>
Executes a mutation declared with
@GraphQLOperation.Link copied to clipboard
Executes a subquery against the Query root type with no variables.
Executes an annotated query with no variables.
abstract fun <T> query(selections: String, variables: Map<String, Any>, targetClass: Class<T>): CompletableFuture<T>
Executes a subquery against the Query root type and returns the result as an instance of
targetClass with the requested selections populated.open fun <T> query(operation: QueryFromAnnotation, variables: Map<String, Any>, targetClass: Class<T>): CompletableFuture<T>
Executes a query declared with
@GraphQLOperation.Link copied to clipboard
Creates a lazy reference to an object-valued query root field or a field reachable through
@namespaceType fields.Creates a lazy reference to a Node from its GlobalID.