I think the expectation is that your data class sh...
# getting-started
k
I think the expectation is that your data class should just be a holder for values without any logic, even at init-time. Because if you do
MyType("foo") == MyType("Foo")
, you'd expect that to evaluate to false, but if you make the strings all automatically converted to uppercase, that'll be true