canjs / can-reflect

Operate on unknown data types
https://canjs.com/doc/can-reflect.html
MIT License
4 stars 4 forks source link

assign deep should work recursively #144

Closed justinbmeyer closed 6 years ago

justinbmeyer commented 6 years ago

for #143

essentially assignDeep() on a list was doing an assign on the list, but was doing updates on all items within the list.

This PR makes it so it does assigns recursively down.

It's possible people were expecting properties to be removed. This will break those apps.