Skip to content

Mutable DTOs can't honour equals semantics #687

@jimirocks

Description

@jimirocks

The core concept of gooddata-java - mutable dtos is effectively preventing such objects to have valid equals method. It's a question how this issue should be resolved:

❓ make the DTOs immutable and provide copy constrcutors/builders
❓ stay on the current state - the equals is only implemented on objects which has sensible immutable id
❓ something else

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions