MutationFieldExecutionContext

An ExecutionContext provided to resolvers for root Mutation type fields

Functions

Link copied to clipboard
abstract suspend fun mutation(selections: String, variables: Map<String, Any?> = emptyMap()): M

Loads the provided selections on the root Mutation type, and returns the response typed as M. This is a convenience method that combines selectionsFor and mutation.