Mutation Field Execution Context
interface MutationFieldExecutionContext<Q : Query, M : Mutation, A : Arguments, R : CompositeOutput> : BaseFieldExecutionContext<Q, A, R> (source)
An ExecutionContext provided to resolvers for root Mutation type fields
Functions
Link copied to clipboard
abstract suspend fun mutation(operation: MutationFromAnnotation, variables: Map<String, Any?> = emptyMap()): M
Loads the operation declared by a @GraphQLOperation mutation object on the root Mutation type, and returns the response typed as M.