@punks/backend-entity-manager 0.0.432 → 0.0.433
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/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -290,7 +290,8 @@ class EntitySerializer {
|
|
|
290
290
|
const entity = (definition.autoColumns ? { ...record } : {});
|
|
291
291
|
for (const column of definition.columns) {
|
|
292
292
|
const columnName = normalizeSheetColumn(column.name);
|
|
293
|
-
|
|
293
|
+
console.log(columnName, column.name, record);
|
|
294
|
+
if (!(column.name in record))
|
|
294
295
|
continue;
|
|
295
296
|
if (column.parseAction) {
|
|
296
297
|
column.parseAction(record[columnName], entity);
|