@iamnnort/nestjs-serializer 1.1.3 → 1.1.5
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 +0 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9082,7 +9082,6 @@ var SerializerService = class {
|
|
|
9082
9082
|
return transformedEntity;
|
|
9083
9083
|
}
|
|
9084
9084
|
async transformEntity(entity, scopes = []) {
|
|
9085
|
-
console.log("1", entity);
|
|
9086
9085
|
if (!entity) {
|
|
9087
9086
|
return entity;
|
|
9088
9087
|
}
|
|
@@ -9099,7 +9098,6 @@ var SerializerService = class {
|
|
|
9099
9098
|
});
|
|
9100
9099
|
return isScope;
|
|
9101
9100
|
});
|
|
9102
|
-
console.log("2", serializerFieldConfigs);
|
|
9103
9101
|
let transformedEntity = {};
|
|
9104
9102
|
await Promise.all(serializerFieldConfigs.map(async (fieldConfig) => {
|
|
9105
9103
|
const fieldName = fieldConfig.fieldName || fieldConfig.name;
|