@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 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, false);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruiapp/rapid-core",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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, false);
494
+ const newEntity = mapDbRowToEntity(model, newRow, true);
495
495
 
496
496
  // save many-relation properties
497
497
  for (const property of manyRelationPropertiesToCreate) {