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 ddab4cd commit 34c0420Copy full SHA for 34c0420
modules/data/src/dispatchers/entity-dispatcher-base.ts
@@ -344,7 +344,7 @@ export class EntityDispatcherBase<T> implements EntityDispatcher<T> {
344
options
345
);
346
if (options.isOptimistic) {
347
- this.guard.mustBeEntity(action as EntityAction);
+ this.guard.mustBeUpdate(action);
348
}
349
this.dispatch(action);
350
return this.getResponseData$<UpdateResponseData<T>>(
0 commit comments