You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @dgeb
Could you please provide us an example with a remoteId use case? I couldn't find any, and i think it 's a hot topic, cause almost every offline approach ends in a sync with a remote server.
Thanks in advance!!
The text was updated successfully, but these errors were encountered:
I appreciate your posts regarding the remoteId use case. I still seem to be having an issue when querying for a record. It seems that new uuid's are created in the deserializeResource method and when querying based on remoteId (server id) or id (ember orbit id) it seems to not find the record.
I believe this is due to this.keyMap.idToKey(type, resourceKey, id); in the resourceId method not finding the correct mapping. This makes sense considering the uuid I am querying changes every time the deserializeResource method is called.
Is there an expectation that the cache should be backed up with IndexedDB or similar for this use case? I knew it was option but was unsure if it was mandatory. Let me know if I can provide any additional information otherwise.
Thanks and appreciate the great work on this project!
Hi @dgeb
Could you please provide us an example with a remoteId use case? I couldn't find any, and i think it 's a hot topic, cause almost every offline approach ends in a sync with a remote server.
Thanks in advance!!
The text was updated successfully, but these errors were encountered: