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
To allow implements the Differential Synchronization algorithm (https://neil.fraser.name/writing/sync/) in the use case 4:Guaranteed Delivery Method we need send with patch the client-server version.
Create a JsonVersionedPatch that extends JsonPatc is not possible since JsonPatch is declared as final.
I will like know if you have in consideration implements this great algoritm in the future roadmap.
The text was updated successfully, but these errors were encountered:
You can see the spring slides about the use of patch with diffsync at http://www.slideshare.net/briancavalier/differential-sync-and-json-patch-s2-gx-2014
The spring-sync implementations is avaliable at https://github.com/spring-projects/spring-sync
I have checked it but seems that depends a lot of the entity type (class, generics, ) and in my test project only works with entities fields and have couldn't synchronized with entities relations (OneToMany)
Looking your library I think that one option will be apply the differential syncrhonization algorimt at JSON format and finally use Jackson to come back to entity context (POJO) and persist the resource.
In my opinion this could decouple the diff algoritm from the Java entities and simplify the code, but maybe I could be wrong. ;o)
To allow implements the Differential Synchronization algorithm (https://neil.fraser.name/writing/sync/) in the use case 4:Guaranteed Delivery Method we need send with patch the client-server version.
Create a JsonVersionedPatch that extends JsonPatc is not possible since JsonPatch is declared as final.
I will like know if you have in consideration implements this great algoritm in the future roadmap.
The text was updated successfully, but these errors were encountered: