structure icon indicating copy to clipboard operation
structure copied to clipboard

Cross-check data consistency by sending a server data hash

Open neopostmodern opened this issue 1 year ago • 0 comments

Could e.g. md5 the JSON of all notes sorted by createdAt, mapped to objects with only _id and updatedAt on the server, send that along with every request for updated entities and after merging the changes the client could calculate the hash locally and notify the user if it mismatches to allow refetching

neopostmodern avatar Dec 15 '23 08:12 neopostmodern