Skip to content

feat: Add support for medusa 1.8 @next#181

Open
adrien2p wants to merge 2 commits into
mainfrom
feat/support-medusa-next
Open

feat: Add support for medusa 1.8 @next#181
adrien2p wants to merge 2 commits into
mainfrom
feat/support-medusa-next

Conversation

@adrien2p

Copy link
Copy Markdown
Owner

WIP

adrien2p and others added 2 commits February 28, 2023 12:20
* chore(deps): bump @sideway/formula from 3.0.0 to 3.0.1 (#173)

* fix: loaders & lint path

* fix: fixes loading for 1.9 server

* fix: package.json

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: SGF <SGF@sourcegoodfood.com>
@Arsenalist

Arsenalist commented Apr 7, 2023

Copy link
Copy Markdown

Is this PR ready to merge? I can help test.

@Arsenalist

Copy link
Copy Markdown

I have been testing this since yesterday with latest Medusa 1.8 and Extender 1.8.8, and unless you're using custom repositories, everything seems to work.

I am using pretty much all aspects of extender and the only issue I ran into with was cases where I was overrriding repositories, where I got compilation errors in the index.d.ts files. I have removed custom repositories and instead get the repository using TypeORM directly like this now:

em.getRepository(MyCustomProduct)

This seems to work fine.

The other issue is that extender still depends on older TypeORM which fails npm i but using npm i --force installs fine. I'm assuming that we'll be updating extender to use TypeORM 3 in the next release, and when that happens things should be good.

Great work on this!! Extender has made my life a lot easier.

@adrien2p

Copy link
Copy Markdown
Owner Author

Thanks a lot 🙏 the extender will be deprecated and we are writing a migration guide to move to a full medusa set up. I keep this pr open for those who are in needs of a smooth transition 😅 hope that's fine for you.

@mein-beer-hu

Copy link
Copy Markdown

Hello folks, first off thank you for a great repo, I was trying to follow a previous guide in Medusa blog about how we can create a marketplace by leveraging medusa-extender, but now it looks like this is being deprecated.

Does that mean if we are using medusa 1.8+, these extensions can be build on top of medusa itself?
Any information regarding how we can proceed here will be very helpful. thank you in advance.

@mewulonu

mewulonu commented Jun 7, 2023

Copy link
Copy Markdown

Hello @adrien2p , Is there an ETA on migration guide. We have alot of custom repositories we'd like to keep but running into compile time issues when upgraded to MedusaJS 1.8.1

@SGFGOV

SGFGOV commented Jun 7, 2023 via email

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants