What's the best way of excluding some properties i...
# announcements
f
What's the best way of excluding some properties in equals/hashcode of data classes?
d
Just don't declare the*properties* in the constructor.
s
Just to add, don't add the property in the primary constructor.