@mikro-orm/core 7.0.0-dev.81 → 7.0.0-dev.82
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/EntityManager.d.ts +0 -1
- package/EntityManager.js +0 -5
- package/package.json +1 -1
package/EntityManager.d.ts
CHANGED
package/EntityManager.js
CHANGED
|
@@ -1248,11 +1248,6 @@ export class EntityManager {
|
|
|
1248
1248
|
return entity;
|
|
1249
1249
|
}
|
|
1250
1250
|
const dataIsEntity = Utils.isEntity(data);
|
|
1251
|
-
if (options.keepIdentity && entity && dataIsEntity && entity !== data) {
|
|
1252
|
-
helper(entity).__data = helper(data).__data;
|
|
1253
|
-
helper(entity).__originalEntityData = helper(data).__originalEntityData;
|
|
1254
|
-
return entity;
|
|
1255
|
-
}
|
|
1256
1251
|
entity = dataIsEntity ? data : em.entityFactory.create(entityName, data, { merge: true, ...options });
|
|
1257
1252
|
const visited = options.cascade ? undefined : new Set([entity]);
|
|
1258
1253
|
em.unitOfWork.merge(entity, visited);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.0-dev.
|
|
4
|
+
"version": "7.0.0-dev.82",
|
|
5
5
|
"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.",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./package.json": "./package.json",
|