chore(): upgrade mikro orm (#13450)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2025-09-19 21:39:18 +02:00
1 parent 4c1c1dd4c0
commit 8ece06d8ed
64 files changed
+836 -700

No files matched your search

@@ -20,11 +20,7 @@ export function setFindMethods<T>(klass: Constructor<T>, entity: any) {
if (!("strategy" in findOptions_.options)) {
if (findOptions_.options.limit != null || findOptions_.options.offset) {
Object.assign(findOptions_.options, {
strategy: LoadStrategy.SELECT_IN,
})
} else {
Object.assign(findOptions_.options, {
strategy: LoadStrategy.JOINED,
strategy: LoadStrategy.BALANCED,
})
}
}
@@ -103,7 +99,7 @@ export function setFindMethods<T>(klass: Constructor<T>, entity: any) {
if (!("strategy" in findOptions_.options)) {
Object.assign(findOptions_.options, {
strategy: LoadStrategy.SELECT_IN,
strategy: LoadStrategy.BALANCED,
})
}