Skip to content

nested arrays/objects #13

@KidkArolis

Description

@KidkArolis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions