MutationFieldExecutionContext

Mutation capability for fields on the mutation root or its reachable namespace types.

Functions

Link copied to clipboard
abstract fun getArguments(): A
Link copied to clipboard
open fun <R> mutation(selections: String, targetClass: Class<R>): CompletableFuture<R>
Executes a sub-mutation against the Mutation root type with no variables.
open fun <R> mutation(operation: MutationFromAnnotation, targetClass: Class<R>): CompletableFuture<R>
Executes an annotated mutation with no variables.
abstract fun <R> mutation(selections: String, variables: Map<String, Any>, targetClass: Class<R>): CompletableFuture<R>
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 <R> mutation(operation: MutationFromAnnotation, variables: Map<String, Any>, targetClass: Class<R>): CompletableFuture<R>
Executes a mutation declared with @GraphQLOperation.