Tomek Polański
1 min readAug 17, 2017

--

Thanks for the answer!

After I’ve asked my question, I did some digging and with aproper kapt usage, one is able to make immutable entities like this:

@Entity
data class Author(@PrimaryKey val authorId: String, val name: String)

Cheers

--

--

Tomek Polański
Tomek Polański

Written by Tomek Polański

Passionate mobile developer. One thing I like more than learning new things: sharing them

No responses yet