https://kotlinlang.org logo
#arrow-meta
Title
# arrow-meta
s

stojan

01/29/2020, 6:10 PM
Is this possible with the current state of arrow-meta? https://twitter.com/pacoworks/status/1222471736815386624?s=19
r

raulraja

01/30/2020, 8:08 PM
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
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
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.
arrow 1