Add optimistic response support and client/server ID mapping to know what server side item corresponds with local optimistic response item (Support Creation of item and subsequent edits when offline). optimistic ID's could have negative values (-45)
ping [~darahayes] [~stephencoady]
When optimistic response is supplied we need to cache that as well and then try to replicate that on restart. Code that replicates mutation: https://github.com/aerogear/aerogear-js-sdk/blob/debug-logging/packages/sync/src/offline/OfflineRestoreHandler.ts#L50-L52 |
|