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

Restoring collection creates new model instances #27

Open
Grid405 opened this issue Dec 27, 2023 · 0 comments
Open

Restoring collection creates new model instances #27

Grid405 opened this issue Dec 27, 2023 · 0 comments

Comments

@Grid405
Copy link

Grid405 commented Dec 27, 2023

Hi River Lynn,

thank you for this awesome plugin, after all these years i'm still using it a lot.
I recently ran into an issue with collections that contain models that are also contained in other collections.
Using restore on a collection causes the collection to discard the original model instances and create new ones, after which changing a model in that collection won't affect the same model in another collection anymore, because they are no longer the same instance.
If it doesn't create other problems down the line, it seems beneficial if the original model instances would be kept when restoring a collection.

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