Skip to content

[question] support for diffing different collection types #32

Closed
@jorgheymans

Description

@jorgheymans

Hi,

One thing we often do in a domain class is to declare a member collection as for example Sets.newHashSet() and in the getter we return a defensive copy like ImmutableSet.copy(this.myset) to prevent callers from inadvertently modifying the domain data.

This leads java-object-diff to throw an exception about incompatible object types. Will this case be supported in a future version ?

Thanks !
Jorg

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions