knockout.merge icon indicating copy to clipboard operation
knockout.merge copied to clipboard

Merge of Arrays

Open lagoasoft-lucasschmidt opened this issue 8 years ago • 3 comments

Hey guys. I was using the library by trying to merge an object with many observable array properties.

The issue is that the merge actually does an array merge. I was expecting that this library could be used to update an observable with new data.

So, the new array would replace the old one. Version 1.5.2.

I am sure it worked in a previous version (maybe 1.4.2?). Its possibly related to the new merge algorithm for arrays, maybe this: https://github.com/grofit/knockout.merge/commit/62995221745cd9fc78804b3d20496f10bca450a6

lagoasoft-lucasschmidt avatar Sep 22 '15 18:09 lagoasoft-lucasschmidt