Skip to content

Commit

Permalink
perf(core): Fix performance when using FacetValue-based checks
Browse files Browse the repository at this point in the history
Fixes #3075
  • Loading branch information
michaelbromley committed Sep 24, 2024
1 parent f235249 commit a735bdf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export class FacetValueChecker {
.findOne({
where: { id: orderLine.productVariant.id },
relations: ['product', 'product.facetValues', 'facetValues'],
loadEagerRelations: false,
})
.then(result => result ?? undefined);
if (!variant) {
Expand Down

0 comments on commit a735bdf

Please sign in to comment.