Skip to content

Classes generated by codegen.py do not implement equals or hashcode #377

Closed
@Woodz

Description

@Woodz

It would be very helpful if equals and hashcode could be implemented by the classes generated by codegen.py. The specific use case that has highlighted this issue is attempting to mock APIs that include AMQP.BasicProperties - even though the set of properties are identical, equality returns false, requiring a custom matcher to be implemented

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions