Commit 9412669
chore: idempotent cart operations (#13236)
* chore(core-flows): idempotent cart operations
* changeset
* add tests
* revert
* revert route
* promo test
* skip bugs
* fix test
* tests
* avoid workflow name conflict
* prevent nested workflow from being deleted until the top level parent finishes
* remove unused setTimeout
* update changeset
* rm comments
---------
Co-authored-by: adrien2p <[email protected]>1 parent b111d01 commit 9412669
File tree
38 files changed
+890
-64
lines changed- .changeset
- integration-tests
- http/__tests__/promotions/admin
- modules/__tests__/workflow-engine
- packages
- core
- core-flows/src
- cart/workflows
- line-item/workflows
- orchestration/src
- transaction
- workflow
- types/src
- workflows-sdk/src/utils/composer
- helpers
- medusa/src/api/store
- carts/[id]
- customer
- line-items
- [line_id]
- promotions
- payment-collections
- modules
- workflow-engine-inmemory
- integration-tests/__fixtures__
- src
- migrations
- models
- services
- utils
- workflow-engine-redis
- integration-tests/__fixtures__
- src
- migrations
- models
- utils
38 files changed
+890
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments