We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60eb4d0 commit 7168161Copy full SHA for 7168161
packages/node_modules/overmind/src/operator.ts
@@ -219,7 +219,7 @@ export function createMutationOperator<ThisConfig extends IConfiguration>(
219
name: string,
220
cb: (
221
err: Error | null,
222
- context: IContext<ThisConfig>,
+ context: IContext<ThisConfig> & { execution: Execution },
223
value: any,
224
next: (
225
@@ -251,6 +251,7 @@ export function createMutationOperator<ThisConfig extends IConfiguration>(
251
state: mutationTree.state,
252
effects: context.effects,
253
actions: context.actions,
254
+ execution: context.execution,
255
},
256
process.env.NODE_ENV === 'production'
257
? context.value
0 commit comments