framework-do-dede 3.0.23 → 3.0.25

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.
@@ -115,13 +115,11 @@ export class Entity {
115
115
  }
116
116
  }
117
117
  for (const property of Object.keys(this)) {
118
- if (typeof property === 'function')
118
+ if (typeof this[property] === 'function')
119
119
  continue;
120
120
  // @ts-ignore
121
121
  if (this.constructor.strategyId === property)
122
122
  continue;
123
- if (this[property] instanceof Entity)
124
- continue;
125
123
  let prefixName = null;
126
124
  // @ts-ignore
127
125
  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.23",
3
+ "version": "3.0.25",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",