-
Notifications
You must be signed in to change notification settings - Fork 0
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
New model for root viewmodels #121
Conversation
8c083c2
to
362d98e
Compare
case fupdate | ||
when FunctionalUpdate::Append | ||
# If we're referring to existing members, ensure that they're removed before we append/insert | ||
existing_refs = fupdate.contents |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer the old name. I thought existing_refs
was like child_datas
, ie, the before state. The variable holds exactly the refs that are being moved by the current append action.
17019e5
to
5460280
Compare
Punt on doing this for now, because it'll affect a lot of the tests, but I think that we're going to want to do this. #126 |
Removes support for explicit shared on associations. ViewModels are now explicitly declared as either roots or nested children. Removes support for `optional` associations and dynamic prune/include in seralization. Associations may now be `external`. External associations are never (de)serialized as part of the parent, and may only be manipulated externally with `AssociationManipulation`. Fixes #100
93837cd
to
83df58a
Compare
Fixes #100
shared
with marking viewmodels asroot
or notexternal
associations, which can only be viewed/manipulated via AssociationManipulation. External associations may only be to root viewmodels.