Czar
06/23/2017, 7:45 AMdata
modifier on the classes.
But no such luck, although data classes can extend other classes, unfortunately they cannot have non val/var constructor parameters, so I cannot extend my BaseEntity.
And this restriction screws up my code all over the place, I just can't use data classes in places where they actually make sense.
What is the point of data classes if you cannot create meaningful hierarchies using them?