Is it possible to define things like getters/factory methods on generated data classes? #1799
hamishjohnson
started this conversation in
General
Replies: 1 comment
-
You can use existing data classes to make drift use a class you provide as a row class. That class can contain custom logic, but you'll need to write your own Somewhat more advanced, you can also tell drift to let the generated data class extend a class that you wrote with the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not much else to add :) Just would be nice to be able to add custom logic to Data classes
Beta Was this translation helpful? Give feedback.
All reactions