Restore orginal domain object from persisted snapshot #133
Comments
well, the bigest problem when we try to restore objects from JaversRepository are references. |
thanks for the explanation :-) 10x |
hi, now we are finishing implementing JQL (Javers Query Language) Concerning this issue, could you give more details about your requirements? |
Hi :-) 10x |
ok, so we stay in touch, in case if you would like to join our new Javers gitter chat room, we are here: |
first step: we will provide a method to get graph with limited depth, eagerly loaded
|
@smirnp, it would be better to have this code distributed with JaVers. We can accept Pull Request with this feature, with incubating status, to separate JaVers module, lets say, javers-instance-creator. Would you like to contribute this way? |
I'll do it |
We have decided to design SnapshotsCompiler feature in a different way. Snapshots will be converted to JSON and then we will use GSon deserialization |
Hi @bartoszwalacik , do you have an approximate time frame when this will be implemented, since we've done an incomplete bug-ridden version of this "entity restore" feature and could use a built-in version |
Well, hope it will be released in summer |
this looks like a quite big feature in JaVers. Some support from community would be helpful ... is anyone here eager to contribute? |
Hi @bartoszwalacik pretty nice framework! Is there any update on this? |
No one is working on it. |
@rasheedamir |
awesome @bartoszwalacik let me know if you need assistance; I mean if you have a plan how to implement then I can offer assistance either myself or through one of my team members |
Good to hear @rasheedamir, your contributions will help us a lot. So how we start? DesignLooking from users perspective, we are going to add one method to javers:
Shadow means users domain object restored from a Snapshot.
ShadowFactory implementationBased on Gson. Snapshots graph converted to JSON (JsonElement) based on users classes structure. Gson deserializes JSON to users objects. Issues
|
done and released in 3.2.0 |
Currently there is no possiblity to retrive original object or converte it from CDO.
In order to produce some kind of POJO based version management Eco-system we must be able to retrieve the original POJO.
Generally speaking i would love to see Javers with version management API like :
do you Store all Object graph or just Incremental information / diff from the last commit ?
10x
The text was updated successfully, but these errors were encountered: