Skip to content

Commit 8535cba

Browse files
committed
fix(run-store): bound the run-graph join lookup list filter
Missed in the previous commit. Its sibling target lookup was already bounded, so the join lookup was the last unbounded site in the batch hydrator.
1 parent 3fb692f commit 8535cba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal-packages/run-store/src/PostgresRunStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ async function batchHydrateJoinRelation(
234234
return byParent;
235235
}
236236
const links = (await join.findMany({
237-
where: { [joinParentField]: { in: parentIds } },
237+
where: { [joinParentField]: { in: boundedIn(parentIds) } },
238238
select: { [joinParentField]: true, [joinTargetField]: true },
239239
})) as Record<string, string>[];
240240
if (links.length === 0) {

0 commit comments

Comments
 (0)