h4 h3 . High level targets
Enable framework for effective conflict resolution on client and server. Enable full traceability for conflict resolution Allow developers to define what conflict means and how it's detected Build sample application that (integrate with current sample application
h4 h3 . Non target
- Provide comprehensive query mechanism working with conflict resolution. - Provide data focused conflict resolution (data from different sources)
h3. Technical information h4. Enablement
Conflict resolution can be enabled on server by providing configuration options for both JavaScript SDK and server side:
{code} conflict: { enabled: boolean conflictStrategy?: (currentRecord: ConflictResolutionData, client: ConflictResolutionData) => ConflictResolutionData } {code}
When conflict on server side is enabled it will by default defer resolution to server wins. Different strategies can be employed Conflict resolution must be enabled on the client and by default it will process server side strategies. Users will be able to change conflict strategy on client but not disable it (as server really controls it)
h4. Communication between server and client
Server side will always return GraphQL error when conflict is detected
|
|