I have a util that gets a lot of couples of objects (with the same ancestors).
The util than publishes them to other clients. I want to add a representation of the differences (e.g. a map/list with all the "dirty" fields).
How can I do it generically? Or should I implement it for each object?