You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
Operating system name and version
MacBook Pro , Sonoma 14.5
Browser name
Chrome
What happended?
I am having trouble accessing hooks when inventoryItem and productCategory are created.
WHAT I WAS ABLE TO DO
I was able to access the following hooks
createProductsWorkflow.hooks.productsCreated
createOrdersWorkflow.hooks.orderCreated
Medusa 2.0.4 seems not to have hooks that handles `createProductCatgeory` and `createInventoryItem` yet, so it became difficult for me to detect when a productCategory and InventoryItem is been created.
WHAT I WAS EXPECTING
I want to be able to access create hooks for
createProductCategoriesWorkflow.hooks
createInventoryItemsWorkflow.hooks
Kindly let me know if I miss anything here or how I can access these hooks
Expected behavior
createProductCategoriesWorkflow.hooks.createProductCatgeory should be available
createInventoryItemsWorkflow.hooks.createInventoryItem should be available
Actual behavior
createProductCatgeory hook is missing from createProductCategoriesWorkflow
createInventoryItem hook is missing from createInventoryItemsWorkflow
@okechukwu0127 thanks for the detailed ticket description!
We are adding hooks as we go, but we are always open for PRs contributing such changes, it will definitely ensure this gets merged and released sooner.
@okechukwu0127 thanks for the detailed ticket description!
We are adding hooks as we go, but we are always open for PRs contributing such changes, it will definitely ensure this gets merged and released sooner.
Package.json file
Node.js version
v2.0.4
Database and its version
PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
Operating system name and version
MacBook Pro , Sonoma 14.5
Browser name
Chrome
What happended?
I am having trouble accessing hooks when inventoryItem and productCategory are created.
WHAT I WAS ABLE TO DO
I was able to access the following hooks
productsCreated
orderCreated
Medusa 2.0.4 seems not to have hooks that handles `createProductCatgeory` and `createInventoryItem` yet, so it became difficult for me to detect when a productCategory and InventoryItem is been created.
WHAT I WAS EXPECTING
I want to be able to access create hooks for
Kindly let me know if I miss anything here or how I can access these hooks
Expected behavior
Actual behavior
createProductCatgeory hook is missing from createProductCategoriesWorkflow
createInventoryItem hook is missing from createInventoryItemsWorkflow
Link to reproduction repo
https://github.com/okechukwu0127/medusa-2.0.4
The text was updated successfully, but these errors were encountered: