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

nested arrays/objects #13

Open
KidkArolis opened this issue Jul 13, 2012 · 0 comments
Open

nested arrays/objects #13

KidkArolis opened this issue Jul 13, 2012 · 0 comments

Comments

@KidkArolis
Copy link

Any suggestions how to deal with models that have an array as an attribute? Doing model.store(), modifying the array, model.restore() won't work, because the array was modified by reference.

What I did was pretty much replace _.clone with JSON.stringify, it does the job for me :) But I wonder if you've used memento with such models.

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