feat(workflows):product handlers should be reusable in different context (#4703)
**What** The listProducts handler should not be specific to the workflow. Same for the product removal, shouldn't expect an entire DTO but just a collection of object that at least contains the id. Same principle applied to other product handlers
This commit is contained in:
committed by
GitHub
parent
b396168dfd
commit
8ae31aff4b
5
.changeset/curly-ways-confess.md
Normal file
5
.changeset/curly-ways-confess.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/workflows": patch
|
||||
---
|
||||
|
||||
feat(workflows): list product should be reusable in different context
|
||||
Reference in New Issue
Block a user