Skip to content
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): fix constructor container type for abstract services #6259

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

shahednasser
Copy link
Member

As discussed with @adrien2p before, the type of the container in the constructor should be Record rather than MedusaContainer. This also solves the issue mentioned in this comment

@shahednasser shahednasser requested review from a team as code owners January 29, 2024 15:21
Copy link

changeset-bot bot commented Jan 29, 2024

🦋 Changeset detected

Latest commit: 1443ffb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@medusajs/medusa Patch

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

Copy link

vercel bot commented Jan 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 3:23pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Jan 29, 2024 3:23pm
docs-ui ⬜️ Ignored (Inspect) Jan 29, 2024 3:23pm
medusa-docs ⬜️ Ignored (Inspect) Jan 29, 2024 3:23pm

@olivermrbl
Copy link
Contributor

I believe what we pass is the cradle from Awilix, so maybe it would make sense to note that. Wdyt?

@olivermrbl olivermrbl merged commit 3ded231 into develop Feb 8, 2024
17 checks passed
This was referenced Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants