Skip to content

Commit f4eb73a

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 4daacb4 commit f4eb73a

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
@@ -239,7 +239,7 @@ async function batchHydrateJoinRelation(
239239
return byParent;
240240
}
241241
const links = (await join.findMany({
242-
where: { [joinParentField]: { in: parentIds } },
242+
where: { [joinParentField]: { in: boundedIn(parentIds) } },
243243
select: { [joinParentField]: true, [joinTargetField]: true },
244244
})) as Record<string, string>[];
245245
if (links.length === 0) {

0 commit comments

Comments
 (0)