How to Ignore Value Properties in Javers - ELL Blog
If you just want the solutions, look at the first and last code blocks. Read the whole article if you want some storytelling. Please comment if you have any feedback.
At work one day, my task was to ignore certain properties of objects when they were being compared. Suppose the object, e.g. custom vertex, had properties { lastUpdated, color, x, y, z, comments }. If one was comparing objects of these properties, one might not want the fields “lastUpdated” and “comments” to be involved since they are metadata and not practical properties.
How to Ignore Value Properties in Javers - ELL Blog
If you just want the solutions, look at the first and last code blocks. Read the whole article if you want some storytelling. Please comment if you have any feedback. At work one day, my task was to ignore certain properties of objects when they were being compared. Suppose the object, e.g. custom vertex, had properties { lastUpdated, color, x, y, z, comments }. If one was comparing objects of these properties, one might not want the fields “lastUpdated” and “comments” to be involved since they are metadata and not practical properties.
https://blog.elijahlopez.ca/posts/java-javers-ignore-value/