@punks/backend-entity-manager 0.0.436 → 0.0.437
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 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -275,6 +275,8 @@ class EntitySerializer {
|
|
|
275
275
|
const entity = (definition.autoColumns ? { ...record } : {});
|
|
276
276
|
for (const column of definition.columns) {
|
|
277
277
|
const columnName = [column.name, ...(column?.aliases ?? [])].find((x) => x in record) ?? "";
|
|
278
|
+
console.log("name", columnName);
|
|
279
|
+
console.log("record", entity);
|
|
278
280
|
if (!columnName)
|
|
279
281
|
continue;
|
|
280
282
|
if (column.parseAction) {
|