Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage nested properties, arrays #40

Open
rossjha opened this issue Jun 13, 2018 · 0 comments
Open

Manage nested properties, arrays #40

rossjha opened this issue Jun 13, 2018 · 0 comments

Comments

@rossjha
Copy link

rossjha commented Jun 13, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant