https://kotlinlang.org logo
#announcements
Title
# announcements
t

tschuchort

08/05/2017, 6:54 PM
how do you exclude properties from the generated equals/hashCode methods in a data class?
h

horse_badorties

08/05/2017, 8:57 PM
I don't think you can. You can override equals/hashCode yourself though, in which case the compiler does not generate them.
4 Views