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?
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 forpost.author
?