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

Trackable Collection API #7

Open
tonysneed opened this issue Sep 14, 2017 · 0 comments
Open

Trackable Collection API #7

tonysneed opened this issue Sep 14, 2017 · 0 comments
Assignees
Labels

Comments

@tonysneed
Copy link

From @tonysneed on September 10, 2017 14:9

  • tracking property (boolean): set up or tear down listeners and proxy handlers (recursive).
  • getChanges: return changedEntities private field (non-recursive).
  • acceptChanges: set state to Unchanged, clear deletedEntities cache (recursive)
  • revertChanges: write original to current values, accept changes (recursive)
  • mergeChanges: merge updated graph into tracked graph, accept changes (recursive)
    • requires IMergeable interface with entityIdentifier (string-guid).

Copied from original issue: TrackableEntities/trackable-entities-js-poc#13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant