@iamnnort/nestjs-serializer 2.1.0 → 2.1.1
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9151,7 +9151,7 @@ var SerializerService = class {
|
|
|
9151
9151
|
if (rootFieldCount < rootFieldChildrenCount) {
|
|
9152
9152
|
return;
|
|
9153
9153
|
}
|
|
9154
|
-
transformedEntity[rootFieldName] =
|
|
9154
|
+
transformedEntity[rootFieldName] = null;
|
|
9155
9155
|
});
|
|
9156
9156
|
if (_lodash.isPlainObject.call(void 0, entity.relatedScope)) {
|
|
9157
9157
|
const transformedRelatedScope = {};
|