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

**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
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-02-20 11:07:39 +00:00
1 parent 691f68c3b8
commit c319edb8e0
14 files changed
+208 -78

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/utils": patch
---
chore(utils): Add default ordering to the internal service factory list/listAndCount