Skip to content
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

chore(utils): Add default ordering to the internal service factory list/listAndCount #6436

Merged
merged 9 commits into from
Feb 20, 2024

Conversation

adrien2p
Copy link
Member

@adrien2p adrien2p commented Feb 19, 2024

What
Default ordering. By default, only the top level entity ordering is applied using the primary keys, the relations are default ordered by the foreign keys.

It include tests fixing for deterministic data ordering

Copy link

changeset-bot bot commented Feb 19, 2024

🦋 Changeset detected

Latest commit: dd383c8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@medusajs/utils Patch

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

Copy link

vercel bot commented Feb 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2024 10:43am
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Feb 20, 2024 10:43am
docs-ui ⬜️ Ignored (Inspect) Visit Preview Feb 20, 2024 10:43am
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Feb 20, 2024 10:43am

@adrien2p adrien2p marked this pull request as ready for review February 19, 2024 15:08
@adrien2p adrien2p requested review from a team as code owners February 19, 2024 15:08
…hub.com:medusajs/medusa into chore/internal-service-factory-default-ordering
Copy link
Contributor

@carlos-r-l-rodrigues carlos-r-l-rodrigues left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kodiakhq kodiakhq bot merged commit c319edb into develop Feb 20, 2024
17 checks passed
@kodiakhq kodiakhq bot deleted the chore/internal-service-factory-default-ordering branch February 20, 2024 11:07
@github-actions github-actions bot mentioned this pull request Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants