This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Offline update different than online update. #60
Comments
On reflection it would be best to leave internal-list-observable.ts alone. emulate-list.ts - processEmulation will then be const aa_newValue = { ...this.observableValue[itemToUpdateIndex], ...value };
console.log('aa_newValue>', aa_newValue);
const bb_newValue = unwrap(key, aa_newValue, () => aa_newValue !== null);
console.log('bb_newValue>', bb_newValue);
this.observableValue[itemToUpdateIndex] = bb_newValue; |
I'm facing an issue: Is this the problem you are describing above? |
Yes, I'm afraid so. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello again
Online update allows for the update of individual properties.
Offline: Just the updated property is returned.
Proposed fix
emulate-list.ts - processEmulation
internal-list-observable.ts
hth
Tim
The text was updated successfully, but these errors were encountered: