I\'m converting a project to Kotlin and I\'m trying to make my model (which is also my entity) a data class I intend to use Moshi to convert the JSON responses from the API<
I had the same issue. You can move the @Ignore fields to class body. For example :
@Entity(tableName = "movies") data class MovieKt( @PrimaryKey var id : Int, var title: String ){ //here @Ignore var overview: String }