How can we improve Breeze.js?

Automatically remove from cache items that were deleted by someone else if an Expand clause did not return it

When multiple users play with similar data and one of the navigation property (to a list of children for example) has hard deletable items, it is possible for one user to load all the children in cache, then for another to delete those children. Then, for user 1, even if he refetches the parent objects with an expand clause to the children, Breeze will currently reattach even those children that were not returned from the server - the deleted ones. There is no easy way currently out of manually clearing the cache or querying directly for each child to check for deleted children. Since an Expand should always return all children, other children could be removed from cache.

30 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
M-A Deschenes shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base