-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
feat(medusa,types): add promotion list/get endpoint #6110
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
🦋 Changeset detectedLatest commit: ac04047 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 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 |
2bbd62d
to
0876a84
Compare
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 🚀
packages/medusa/src/api/routes/admin/promotions/list-promotions.ts
Outdated
Show resolved
Hide resolved
Could you just add a description to the pr for the changelog please 💪 |
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.
todo: If we can, we should use the new API Routes. Did you try that?
The new API is not supported by the core @olivermrbl, it goes through a separated loader etc |
Yeah – maybe now is a good time to revisit and gauge how much effort it would require to support it, wdyt? |
5c220a8
to
eb644e7
Compare
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.
Really clean 😻
Left a couple of questions
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.
Fantastic work man 🔥 last couple of comments from oli to discuss
d6c7ee1
to
d6410de
Compare
what: