-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(medusa, modules-sdk, modules): Module loading missing dependencies + remote query reference issue #5468
Conversation
…ected dependencies and remote query reference fix
🦋 Changeset detectedLatest commit: 3605a18 The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Ignored Deployments
|
…js/medusa into fix/medusa-app-lading-deps-issues
/snapshot-this |
Before merging I d like to run some tests with the snapshot |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/admin-ui@2.1.6-snapshot-20231025100647 yarn add @medusajs/cache-inmemory@1.8.9-snapshot-20231025100647 yarn add @medusajs/cache-redis@1.8.9-snapshot-20231025100647 yarn add @medusajs/event-bus-local@1.9.7-snapshot-20231025100647 yarn add @medusajs/event-bus-redis@1.8.10-snapshot-20231025100647 yarn add @medusajs/inventory@1.11.2-snapshot-20231025100647 yarn add @medusajs/link-modules@0.2.2-snapshot-20231025100647 yarn add @medusajs/medusa@1.17.3-snapshot-20231025100647 yarn add @medusajs/modules-sdk@1.12.2-snapshot-20231025100647 yarn add @medusajs/orchestration@0.4.3-snapshot-20231025100647 yarn add @medusajs/pricing@0.1.2-snapshot-20231025100647 yarn add @medusajs/product@0.3.2-snapshot-20231025100647 yarn add @medusajs/stock-location@1.11.1-snapshot-20231025100647
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@olivermrbl can we merge this? |
Fine by me, but I don't know if this leads to conflicts with other Pricing Module related PRs. Have you coordinated with the guys? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had one question, but lgtm
b096249
to
fe4e250
Compare
LGTM, should we merge? |
What
At the moment, the modules are expecting some dependencies such as the event bus module, but they fail silently since it is not a required deps. On the other hand, if the deps is required then it create some issues since the dep is missing. Also, the remote query was mutating the reference of an array object and leading to unexpected side effects.
This pr aims to resolve the dependency issues for the modules as well as the remote query reference mutation issue.
I ve moved this to a separate pr to not hold on it in the search module pr