@mikro-orm/mongodb 6.6.1-dev.9 → 6.6.1
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.
- package/MongoDriver.js +1 -1
- package/package.json +3 -3
package/MongoDriver.js
CHANGED
|
@@ -281,7 +281,7 @@ class MongoDriver extends core_1.DatabaseDriver {
|
|
|
281
281
|
if (!meta) {
|
|
282
282
|
return fields;
|
|
283
283
|
}
|
|
284
|
-
const lazyProps = meta.props.filter(prop => prop.lazy && !populate.some(p =>
|
|
284
|
+
const lazyProps = meta.props.filter(prop => prop.lazy && !populate.some(p => this.isPopulated(meta, prop, p)));
|
|
285
285
|
const ret = [];
|
|
286
286
|
if (fields) {
|
|
287
287
|
for (let field of fields) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/mongodb",
|
|
3
|
-
"version": "6.6.1
|
|
3
|
+
"version": "6.6.1",
|
|
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",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"mongodb": "6.20.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@mikro-orm/core": "^6.6.
|
|
65
|
+
"@mikro-orm/core": "^6.6.1"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@mikro-orm/core": "6.
|
|
68
|
+
"@mikro-orm/core": "^6.0.0"
|
|
69
69
|
}
|
|
70
70
|
}
|