Chris Fillmore
08/13/2021, 3:27 PMvalue class
? For example:
@Entity
data class Order(id: OrderId)
@JvmInline
value class OrderId(val value: String)
When I do this, I get an error at build time:
Entities and POJOs must have a usable public constructor. You can have an empty constructor or a constructor whose parameters match the fields (by name and type).
Another error says:
Cannot find getter for field.
I am using Room v2.3.0
Thanks for any help!
Slack Conversationephemient
08/13/2021, 3:31 PMChris Fillmore
08/13/2021, 3:32 PM