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

[Enh]: Mementos - Only Copy Checked Original #305

Conversation

seandenigris
Copy link
Member

We were always copying field values when pulling so that the original could query whether the model had changed elsewhere. However, this created complication in other contexts (e.g. display of current data) where you want the real objects. So we simplify and only copy for the one use case where we currently need it (otherwise just use the real objects)

We were *always* copying field values when pulling so that the `original` could query whether the model had changed elsewhere. However, this created complication in other contexts (e.g. display of current data) where you want the real objects. So we simplify and only copy for the one use case where we currently need it (otherwise just use the real objects)
@seandenigris seandenigris merged commit 0641259 into magritte-metamodel:master Sep 23, 2022
@seandenigris seandenigris deleted the enh_memento-only-copy-original branch September 23, 2022 19:51
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.

1 participant