-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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): Use query relation load strategy on Carts #3984
Conversation
🦋 Changeset detectedLatest commit: 82ff086 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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
Just need the CI to pass |
query
relation load strategy
Can I merge this @adrien2p ? |
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, one question though, should we also do the same for the find? Otherwise it might break someone listing the carts right?
@adrien2p – Still, it wont break but just be less performant as it would use the join strategy. Think it's fine no? |
In any case, we could do it in a follow-up iteration |
@olivermrbl We can do it in a followup pr but now if someone use the list cart then the payment sessions won’t be available on the carts. |
No description provided.