A sample implementation with conflict detection and ability to use various predefined conflict resolution strategies has been implemented in the following repo: https://github.com/aerogear/offline-conflict-strategies/tree/master/server-apollo The server implementation can be found under the server-apollo directory. Summary of what was done:
- Develop a simple schema + resolvers in the data-sync-server using mongodb as the datasource that can power the react application being used for the client side work.
- Build a working prototype of conflict detection and resolution in a sample server
- Using per record integer versioning (like OtherSync)
- Has several built in Resolution policies
|