Skip to content

Commit c6ad913

Browse files
committed
fix: no class mappings for server models starting from second level deep
1 parent f328414 commit c6ad913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/store/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function parseCircularDependencies(obj) {
2020
}
2121

2222
function processModel(source, target, prop) {
23-
const Model = resolveModelClassFromString(source[prop].___class) || source[prop].constructor
23+
const Model = source[prop].constructor
2424

2525
target[prop] = new Model()
2626

0 commit comments

Comments
 (0)