We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7aa7d1 commit e676162Copy full SHA for e676162
src/Model.js
@@ -10,6 +10,7 @@ export default class Model extends StaticModel {
10
this._builder = new Builder(this)
11
} else {
12
Object.assign(this, ...attributes)
13
+ this._applyRelations(this)
14
}
15
16
if (this.baseURL === undefined) {
@@ -237,8 +238,6 @@ export default class Model extends StaticModel {
237
238
item._from(this._fromResource)
239
240
- this._applyRelations(item)
241
-
242
return item
243
244
0 commit comments