Yes, you could conceptually do that in the codegen phase but that is a dangerous idea IMO since other libs and plugin may already be dependent on data classes containing copy
raulraja
01/30/2020, 8:09 PM
It would be easier to annotate specific regular classes to get just equality and hashcode to look like data classes that are lighter weight
👍 1
raulraja
01/30/2020, 8:09 PM
There there is no expectation of copy and it provides you a safe path forward.
a
Ahmed Mourad
02/20/2020, 7:52 PM
I've actually been working on something very similar to this.