Data classes basically make Lombok
obsolete. You can have immutable classes with the basic methods implemented out of the box.
https://kotlinlang.org/docs/reference/data-classes.html
- The test is failing because the instances are not actually equal. How to fix it?
- We want to make a copy of our class, but we are introducing a lot of duplication. What can be done about it?