Mutation Field Execution Context
interface MutationFieldExecutionContext<T : GraphQLObject?, Q : Query?, A : Arguments?, O : CompositeOutput?> : ResolverExecutionContext(source)
Mutation capability for fields on the mutation root or its reachable namespace types.
Functions
Link copied to clipboard
Link copied to clipboard
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.