What about conflicts?
bitbonsai opened this issue · 3 comments
bitbonsai commented
Just a question: what happens if 2 users use the same app, with same data; one changes a record offline, other changes the same record online. When both are online, app syncs. Which version of changed data will be on server? The one changed offline or the one changed online? Would date be the conflict resolution?
Thanks
alekseykulikov commented
Hi @bitbonsai, conflicts resolution is pretty silly in b.o. It uses updated_at field and preferences latest.
Do you have any ideas how to implement universal solution for this problem?
bitbonsai commented
Will do a little research and check if have some ideas :)
🎱
Thanks
alekseykulikov commented
Thank you @bitbonsai I'm looking forward to see you results.