Join Slack
Powered by
what is best practices for data model builder??
# announcements
m
mortda-m
10/14/2017, 4:27 PM
what is best practices for data model builder??
k
karelpeeters
10/14/2017, 4:41 PM
Could you elaborate? Your question isn't that clear.
m
mortda-m
10/14/2017, 4:57 PM
data class Model(val jobName:String){ var someData:Type } i want to mutate state with builder, What is the best practices for that?
k
karelpeeters
10/14/2017, 4:59 PM
There's
.copy
in data classes, you could do
Model.copy(jobName = "test")
.
👍 2
2
Views
Open in Slack
Previous
Next