ember-buffered-proxy icon indicating copy to clipboard operation
ember-buffered-proxy copied to clipboard

Manage nested properties, arrays

Open rossjha opened this issue 7 years ago • 0 comments
trafficstars

How would you use buffered proxy for nested properties e.g. post.author.name and an array of objects e.g. post.tags[{name: 'tag one'}, {name: 'tag two'}]

For the array i'm cloning the array and setting the property, which updates hasChanges.

There seems to be no proxy for post.author.name so the changes are applied to the model. Would i need to create a new proxy for post.author?

rossjha avatar Jun 13 '18 13:06 rossjha