Description
Hello,
thanks for this really helpful project. It really helped me!
Now to my question:
I have created a clone from a graph of JPA mapped entities to implement a versioning of that graph. When I compared the cloned one with the original one, I saw that every list inside my root object was marked as changed. After analysing the problem, I realized that the equals() implementations of the objects inside the lists are the reason for that. The CollectionDiffer uses the equals() Methods of these Objects inside the Collections.filteredCopyOf() Method.
I tried to implement a ComparisonStrategy, but I was unhappy about the missing differDispatcher, so I stopped this approach.
How would you describe a best practice for my problem (Collection Diff only comparing unexcluded fields)?
Best regards
Kim