The Wayback Machine - https://web.archive.org/web/20211215151817/https://github.com/novoda/no-player/issues/49
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoValue #49

Open
Mecharyry opened this issue Jun 23, 2017 · 1 comment
Open

AutoValue #49

Mecharyry opened this issue Jun 23, 2017 · 1 comment

Comments

@Mecharyry
Copy link
Contributor

@Mecharyry Mecharyry commented Jun 23, 2017

Problem

We have quite a few models and we have to generate the hashcode, equals and toString whenever we decide to update them.

Potential Solution

Introduce Auto-Value to have our model classes auto-generated with hashcode, equals and toString whenever we perform a build.

Impact

Less maintenance when adding a new field to a model.

@ouchadam
Copy link
Contributor

@ouchadam ouchadam commented Jul 30, 2018

we could also consider a kotlin rewrite/data classes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment