I feel like there should be a way to `JsExport.Ign...
# javascript
e
I feel like there should be a way to
JsExport.Ignore
the generated `equals`/`hashCode`/`toString` methods when using `data class`es. Currently the only way to prevent that is to avoid data classes entirely, or override those methods with custom implementations, which can be tedious.
s
Honest question: Why do you use data classes if you dont want any of its properties?
e
I use data classes because they're handy, they give me free destructuring and default method implementations. While those methods may be useful in the JVM (or internally for each platform), I want to reduce the exposed surface as much as possible when targeting JS. Also they make no sense from a JS/TS consumer perspective