Skip to content

Commit 4136a8c

Browse files
tyao1facebook-github-bot
authored andcommitted
Fix operation executor for exec time
Reviewed By: lynnshaoyu Differential Revision: D75719570 fbshipit-source-id: 8176ed21f02bb1743c10437341f741798b043709
1 parent b5294a4 commit 4136a8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/relay-runtime/store/OperationExecutor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ class Executor<TMutation: MutationParameters> {
561561
}
562562

563563
if (hasNormalizedResponses) {
564+
const payloadFollowups = [];
564565
for (let i = 0; i < normalizedResponses.length; i++) {
565566
const response = normalizedResponses[i];
566567
const source = new RelayRecordSource(
@@ -579,7 +580,9 @@ class Executor<TMutation: MutationParameters> {
579580
payload,
580581
this._updater,
581582
);
583+
payloadFollowups.push(payload);
582584
}
585+
this._processPayloadFollowups(payloadFollowups);
583586
}
584587

585588
if (incrementalResponses.length > 0) {

0 commit comments

Comments
 (0)