react-native-onyx 1.0.52 → 1.0.53

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.
@@ -1218,6 +1218,11 @@ function mergeCollection(collectionKey, collection) {
1218
1218
  if (isKeyMatch(collectionKey, dataKey)) {
1219
1219
  return;
1220
1220
  }
1221
+
1222
+ if (true) {
1223
+ throw new Error(`Provided collection doesn't have all its data belonging to the same parent. CollectionKey: ${collectionKey}, DataKey: ${dataKey}`);
1224
+ }
1225
+
1221
1226
  hasCollectionKeyCheckFailed = true;
1222
1227
  _Logger__WEBPACK_IMPORTED_MODULE_6__.logAlert(`Provided collection doesn't have all its data belonging to the same parent. CollectionKey: ${collectionKey}, DataKey: ${dataKey}`);
1223
1228
  });