#How does Medusa plan on handling custom repositories with TypeORM v3

1 messages · Page 1 of 1 (latest)

placid niche
#

If I’m not mistaken getCustomRepository will no longer work. How do you plan on setting up custom repositories with TypeORM v3.

If I’m not mistaken it seems we’ll need to extend the repository and then use withRepository during a transaction

stark mountain
#

Yes indeed, for now it has been put on hold. But this type of migration includes breaking changes as many majors does

placid niche
#

Do you have an idea as to the individual repository will look like now with these changes? 😇