nestjs-query-mikro-orm 0.1.3 → 0.1.4
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/dist/index.cjs +2 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1583,14 +1583,8 @@ var MikroOrmQueryService = class extends RelationQueryService {
|
|
|
1583
1583
|
return data;
|
|
1584
1584
|
})(this.EntityClass);
|
|
1585
1585
|
AssemblerDeserializer((d) => {
|
|
1586
|
-
const
|
|
1587
|
-
|
|
1588
|
-
const entity = this.repo.getEntityManager().merge(this.EntityClass, d);
|
|
1589
|
-
return entity;
|
|
1590
|
-
} else {
|
|
1591
|
-
const entity = this.repo.getEntityManager().create(this.EntityClass, d);
|
|
1592
|
-
return entity;
|
|
1593
|
-
}
|
|
1586
|
+
const entity = this.repo.getEntityManager().merge(this.EntityClass, d);
|
|
1587
|
+
return entity;
|
|
1594
1588
|
})(this.EntityClass);
|
|
1595
1589
|
}
|
|
1596
1590
|
}
|