@ruiapp/rapid-core 0.1.34 → 0.1.35
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.js +1 -1
- package/package.json +1 -1
- package/src/dataAccess/entityManager.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -2107,7 +2107,7 @@ async function createEntity(server, dataAccessor, options, plugin) {
|
|
|
2107
2107
|
}
|
|
2108
2108
|
}
|
|
2109
2109
|
const newRow = await dataAccessor.create(row);
|
|
2110
|
-
const newEntity = mapDbRowToEntity(model, newRow,
|
|
2110
|
+
const newEntity = mapDbRowToEntity(model, newRow, true);
|
|
2111
2111
|
// save many-relation properties
|
|
2112
2112
|
for (const property of manyRelationPropertiesToCreate) {
|
|
2113
2113
|
newEntity[property.code] = [];
|
package/package.json
CHANGED
|
@@ -491,7 +491,7 @@ async function createEntity(
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
const newRow = await dataAccessor.create(row);
|
|
494
|
-
const newEntity = mapDbRowToEntity(model, newRow,
|
|
494
|
+
const newEntity = mapDbRowToEntity(model, newRow, true);
|
|
495
495
|
|
|
496
496
|
// save many-relation properties
|
|
497
497
|
for (const property of manyRelationPropertiesToCreate) {
|