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 authored and GitHub committed 2025-02-26 10:00:04 +00:00
1 parent eeebb35758
commit fa1793e8e9
7 files changed
+126 -105

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/core-flows": patch
---
chore(core-flows): avoid overfetching to refresh cart