@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.
- package/dist/aws-amplify-datastore.js +3 -1
- package/dist/aws-amplify-datastore.js.map +1 -1
- package/dist/aws-amplify-datastore.min.js +1 -1
- package/dist/aws-amplify-datastore.min.js.map +1 -1
- package/lib/storage/storage.js +2 -1
- package/lib/storage/storage.js.map +1 -1
- package/lib-esm/storage/storage.js +2 -1
- package/lib-esm/storage/storage.js.map +1 -1
- package/package.json +7 -7
- package/src/storage/storage.ts +12 -15
|
@@ -88894,7 +88894,9 @@ function () {
|
|
|
88894
88894
|
updatedFields.forEach(function (field) {
|
|
88895
88895
|
var e_2, _a, e_3, _b;
|
|
88896
88896
|
|
|
88897
|
-
var
|
|
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
|
|