kamikat / moshi-jsonapi

JSON API v1.0 Specification in Moshi.
MIT License
156 stars 34 forks source link

equals() and hashCode() not implemented on HasOne, HasMany and ResourceLinkage #22

Closed mreichelt closed 8 years ago

mreichelt commented 8 years ago

Currently the equals() and hashCode() methods are not implemented - leading to failing unit tests for resources that need to use these when these are auto-generated by IntelliJ.

I would suggest we implement these like this:

I already started working on an implementation.