Skip to content

Lightweight delta'd object version wrappers using patches #1913

Answered by EmilTholin
kcoop asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kcoop!

Very interesting. Is it of utmost importance that the ViewModel only has a proper MST reference to the Model? I'm having a hard time imagining how that could be implemented, since there should be able to be more than one ViewModel of the same Model instance.

It's not an option for you to clone the Model instance when you create the ViewModel instance, and have the ViewModel just record the patches of its own copy of Model?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kcoop
Comment options

You must be logged in to vote
1 reply
@EmilTholin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants