Skip to content

Limit diff depth #109

@donhaldo

Description

@donhaldo

Hello,
very goog library!

Is there a way to stop diffing objects to a definite depth?

I have to manage diff between hibernate envers revision objects, with lot of associations than i don't need to diff, primarly to avoid performance problems.
I'd like to stop diffing to first level attributes of each entities, but:

  • I don't want to enumerate explicitly all the exclusion paths in configuration (there are a lot of them and may change in time...);
  • I don't want to pollute my entities with @ObjectDiffProperty annotations, because i realized
    a generic revision comparison module and i'd like to be free to change diffing engine;

Is there a way to configure (o code an interface) of java-object-diff in order to stop differ works to first level nodes?

Many thanks in advance
Roberto

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions