@punks/backend-entity-manager 0.0.433 → 0.0.435

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/esm/index.js CHANGED
@@ -275,12 +275,10 @@ class EntitySerializer {
275
275
  const entity = (definition.autoColumns ? { ...record } : {});
276
276
  for (const column of definition.columns) {
277
277
  const columnName = normalizeSheetColumn(column.name);
278
- console.log(columnName, column.name, record);
279
278
  if (!(column.name in record))
280
279
  continue;
281
280
  if (column.parseAction) {
282
281
  column.parseAction(record[columnName], entity);
283
- delete record[column.name];
284
282
  continue;
285
283
  }
286
284
  if (typeof column.selector === "function") {
@@ -292,7 +290,7 @@ class EntitySerializer {
292
290
  .map((x) => applyModifiers(x, column.modifiers))
293
291
  .filter((x) => isValidValue(x))
294
292
  : applyModifiers(parsedColumn, column.modifiers);
295
- delete record[column.name];
293
+ delete entity[column.name];
296
294
  }
297
295
  const validationErrors = [];
298
296
  for (const column of definition.columns) {