@reldens/storage 0.10.0-beta.35 → 0.10.0-beta.36
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.
|
@@ -253,7 +253,7 @@ class MikroOrmDriver extends BaseDriver
|
|
|
253
253
|
if(typeof this.rawModel.entity.relationsMappings !== 'function'){
|
|
254
254
|
return false;
|
|
255
255
|
}
|
|
256
|
-
let relationsMappings =
|
|
256
|
+
let relationsMappings = this.rawModel.entity.relationsMappings();
|
|
257
257
|
for(let i of relations){
|
|
258
258
|
let relation = relationsMappings[i];
|
|
259
259
|
let relationRepository = this.server.getEntity(relation.entityName);
|