chore(core-utils): avoid overfetching to refresh cart (#11602)

What:
 * Not all Cart operations need a full refresh updating items. This PR introduces a flag to force the refresh for special ocasions, like updating the Cart's region, or transfering the Cart to another customer. For all other flows it will update only promotions, taxes and payment collection if needed.
This commit is contained in:
Carlos R. L. Rodrigues
2025-02-26 07:00:04 -03:00
committed by GitHub
parent eeebb35758
commit fa1793e8e9
7 changed files with 126 additions and 105 deletions
@@ -2068,7 +2068,7 @@ medusaIntegrationTestRunner({
unit_price: 4000,
is_custom_price: true,
quantity: 2,
title: "Test variant",
title: "Test item",
})
)
})