In lombok, the inclusion/exclusion strategies are ...
# random
s
In lombok, the inclusion/exclusion strategies are very neat, (e.g.:
@ToString(exclude = "password")
@EqualsAndHashCode(of = "id")
etc..). I'm wondering if kotlin data classes could have similar.
v
They actually could. It is a good idea for #language-proposals , IMO
j
I just override the ones I dont want
which is not as clean
but the hashcode and equals as implemented dont work for me
Rather than excludes tjo
I prefer groovys annotations
although I guess its the same