yapplabs / ember-buffered-proxy

An Ember Proxy the enables change buffering
MIT License
166 stars 31 forks source link

Manage nested properties, arrays #40

Open rossjha opened 6 years ago

rossjha commented 6 years ago

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?