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

fix(pinia-orm): Model original data isolation #1954

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

petrmifek
Copy link

🔗 Linked issue

resolves #1953

📚 Description

The original static property in the Model class stores original states using only the model's ID as the key, causing different model types to overwrite each other's original states when they share the same ID.

This PR is separating/namespacing the original states by model entity

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

Successfully merging this pull request may close these issues.

Model original state not isolated between different model types
1 participant