framework-do-dede 3.0.22 → 3.0.23

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.
@@ -120,6 +120,8 @@ export class Entity {
120
120
  // @ts-ignore
121
121
  if (this.constructor.strategyId === property)
122
122
  continue;
123
+ if (this[property] instanceof Entity)
124
+ continue;
123
125
  let prefixName = null;
124
126
  // @ts-ignore
125
127
  if (this.constructor.propertiesConfigs && this.constructor.propertiesConfigs[property] && this.constructor.propertiesConfigs[property].prefix) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framework-do-dede",
3
- "version": "3.0.22",
3
+ "version": "3.0.23",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",