@aws-amplify/datastore 3.7.1-unstable.2 → 3.7.1-unstable.3

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.
@@ -88894,7 +88894,9 @@ function () {
88894
88894
  updatedFields.forEach(function (field) {
88895
88895
  var e_2, _a, e_3, _b;
88896
88896
 
88897
- var targetName = Object(_types__WEBPACK_IMPORTED_MODULE_3__["isTargetNameAssociation"])(fields[field].association); // if field refers to a belongsTo relation, use the target field instead
88897
+ var _c;
88898
+
88899
+ var targetName = Object(_types__WEBPACK_IMPORTED_MODULE_3__["isTargetNameAssociation"])((_c = fields[field]) === null || _c === void 0 ? void 0 : _c.association); // if field refers to a belongsTo relation, use the target field instead
88898
88900
 
88899
88901
  var key = targetName || field; // check field values by value. Ignore unchanged fields
88900
88902