relay-runtime 0.0.0-main-e73b95f5 → 0.0.0-main-b0e52fbf
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/index.js
CHANGED
|
@@ -274,7 +274,7 @@ function merge(record1, record2) {
|
|
|
274
274
|
process.env.NODE_ENV !== "production" ? warning(isClientID(nextID) && nextID !== ROOT_ID || prevType === nextType, 'RelayModernRecord: Invalid record merge, expected both versions of ' + 'record `%s` to have the same `%s` but got conflicting types `%s` ' + 'and `%s`. The GraphQL server likely violated the globally unique ' + 'id requirement by returning the same id for different objects.', prevID, TYPENAME_KEY, prevType, nextType) : void 0;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
return
|
|
277
|
+
return (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, record1), record2);
|
|
278
278
|
}
|
|
279
279
|
/**
|
|
280
280
|
* @public
|