Circular dependecy break

This commit is contained in:
barsdeveloper
2021-10-31 13:56:33 +01:00
parent 418630255e
commit 113f65964d
5 changed files with 67 additions and 72 deletions

View File

@@ -44,7 +44,7 @@ export default class Entity {
continue
}
if (defaultValue instanceof Function) {
defaultValue = Utility.sanitize(new defaultValue())
defaultValue = TypeInitialization.sanitize(new defaultValue())
}
target[property] = defaultValue
}