@startinblox/core 0.19.0-beta.19 → 0.19.0-beta.20

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.
package/dist/index.js CHANGED
@@ -12091,7 +12091,7 @@ const StoreMixin = {
12091
12091
  this.resourceId = value;
12092
12092
  if (this.nestedField) {
12093
12093
  const resource = await store.getData(value, this.context, void 0, void 0, true);
12094
- const nestedResource = resource ? await resource[this.nestedField] : null;
12094
+ const nestedResource = resource ? await resource[store.getExpandedPredicate(this.nestedField, this.context)] : null;
12095
12095
  this.resourceId = nestedResource ? await nestedResource["@id"] : null;
12096
12096
  if (resource && !this.resourceId && !nestedResource) {
12097
12097
  console.trace();