adrien2p / medusa-extender

:syringe: Medusa on steroid, take your medusa project to the next level with some badass features :rocket:
https://adrien2p.github.io/medusa-extender/
MIT License
320 stars 40 forks source link

Wow, when I saw this project, I felt excited. #202

Closed microCloudCode closed 1 year ago

microCloudCode commented 1 year ago

Wow, when I saw this project, I felt excited. The decorators it provides are almost identical to what I used in NestJS, and it indeed takes Medusa to a whole new level! I really dislike the way routes are organized in medusa-starter-default; it makes me feel like I'm writing a loose script. However, this project is now deprecated. Is there any other way to organize my routes similar to NestJS?

SGFGOV commented 1 year ago

You can use @sgftech/medusa-extender interim

Best Regards Govind Diwakar

On Sun, 16 Jul, 2023, 14:30 microCloudCode, @.***> wrote:

Wow, when I saw this project, I felt excited. The decorators it provides are almost identical to what I used in NestJS, and it indeed takes Medusa to a whole new level! I really dislike the way routes are organized in medusa-starter-default; it makes me feel like I'm writing a loose script. However, this project is now deprecated. Is there any other way to organize my routes similar to NestJS?

— Reply to this email directly, view it on GitHub https://github.com/adrien2p/medusa-extender/issues/202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEQJHBROZZFIAIPRYBMHPLXQOURJANCNFSM6AAAAAA2LZ6XB4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.   

adrien2p commented 1 year ago

We will profile a file base router as well as part of medusa, it will simplify route building. I hope you will like it, you can already look at the pr i ve opened for it if you select me as the creator to filter. Thanks a lot for your kind words

microCloudCode commented 1 year ago

@adrien2p Thank you for your response! I have checked your pull request, but it doesn't seem to be what I was looking for. It would be great if we could define routes in Medusa just like we do in NestJS. image

adrien2p commented 1 year ago

I understand and i didn't meant to say that it would be similar. But an improvement of the way it is now. We won't do it just like nestjs does, and i know very well how nestjs works as i was a contributor. If you really want to do that, you can just do like i did in that package and build your own as it is not difficult to do.

microCloudCode commented 1 year ago

Thank you! You've been very helpful, and I'll try to reference your package to achieve the effect I want.