Skip to content

Commit 4df4fb7

Browse files
committed
[queries] Hook into mutator phase
1 parent e86fd77 commit 4df4fb7

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

src/queries.ts

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -505,13 +505,17 @@ export const createQueries = getCreateFunction((store: Store): Queries => {
505505
...addStoreListeners(
506506
queryId,
507507
1,
508-
store.addRowListener(realJoinedTableId, remoteRowId, () =>
509-
listenToTable(
510-
rootRowId,
511-
realJoinedTableId,
512-
remoteRowId,
513-
nextJoinedTableIds,
514-
),
508+
store.addRowListener(
509+
realJoinedTableId,
510+
remoteRowId,
511+
() =>
512+
listenToTable(
513+
rootRowId,
514+
realJoinedTableId,
515+
remoteRowId,
516+
nextJoinedTableIds,
517+
),
518+
true,
515519
),
516520
),
517521
],
@@ -545,6 +549,7 @@ export const createQueries = getCreateFunction((store: Store): Queries => {
545549
);
546550
}
547551
},
552+
true,
548553
),
549554
),
550555
);

0 commit comments

Comments
 (0)