@mikro-orm/core 6.4.11-dev.3 → 6.4.11-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -313,7 +313,7 @@ class EntityLoader {
313
313
  const innerOrderBy = Utils_1.Utils.asArray(options.orderBy)
314
314
  .filter(orderBy => Utils_1.Utils.isObject(orderBy[prop.name]))
315
315
  .map(orderBy => orderBy[prop.name]);
316
- const { refresh, filters, ignoreLazyScalarProperties, populateWhere, connectionType, logging } = options;
316
+ const { refresh, filters, ignoreLazyScalarProperties, populateWhere, connectionType, logging, schema } = options;
317
317
  const exclude = Array.isArray(options.exclude) ? Utils_1.Utils.extractChildElements(options.exclude, prop.name) : options.exclude;
318
318
  const filtered = Utils_1.Utils.unique(children.filter(e => !options.visited.has(e)));
319
319
  await this.populate(prop.type, filtered, populate.children ?? populate.all, {
@@ -328,6 +328,7 @@ class EntityLoader {
328
328
  populateWhere,
329
329
  connectionType,
330
330
  logging,
331
+ schema,
331
332
  // @ts-ignore not a public option, will be propagated to the populate call
332
333
  refresh: refresh && !filtered.every(item => options.visited.has(item)),
333
334
  // @ts-ignore not a public option, will be propagated to the populate call
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/core",
3
- "version": "6.4.11-dev.3",
3
+ "version": "6.4.11-dev.5",
4
4
  "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -64,7 +64,7 @@
64
64
  "esprima": "4.0.1",
65
65
  "fs-extra": "11.3.0",
66
66
  "globby": "11.1.0",
67
- "mikro-orm": "6.4.11-dev.3",
67
+ "mikro-orm": "6.4.11-dev.5",
68
68
  "reflect-metadata": "0.2.2"
69
69
  }
70
70
  }