ee-soa-service
Advanced tools
Comparing version 0.2.68 to 0.2.69
@@ -849,4 +849,12 @@ | ||
data[withModel] = this.root[withModel](filterForWithModel); | ||
var referenceModel; | ||
if(!this.root[withModel] && this.specs.hasOne[withModel].hasAlias) { | ||
referenceModel = this.root[this.specs.hasOne[withModel].referencedModelName](filterForWithModel); | ||
} | ||
else { | ||
referenceModel = this.root[withModel](filterForWithModel); | ||
} | ||
data[withModel] = referenceModel; | ||
// row restrictions | ||
@@ -853,0 +861,0 @@ this.applyRowRestrictions(queryData, data); |
@@ -5,3 +5,3 @@ { | ||
, "keywords" : ["ee", "soa", "service"] | ||
, "version" : "0.2.68" | ||
, "version" : "0.2.69" | ||
, "author": { | ||
@@ -8,0 +8,0 @@ "name" : "Tobias Kneubuehler" |
95056
1625