Status Update
Comments
mf...@gmail.com <mf...@gmail.com> #2
Seems to be a problem with a string primary key:
@Serializable
@Entity
data class ChoiceEntity(
@PrimaryKey(autoGenerate = true) val id: Int,
val fkParameter: Int
)
data class FullChoice(
@Embedded val choice: ChoiceEntity,
@Relation(
parentColumn = "fkParameter",
entityColumn = "id"
)
val parameter: ParameterEntity
)
Using the FullChoice
in a dao leads to above mentioned problem if ParameterEntity.id
is a string. If the id is an int everything works as expected.
da...@google.com <da...@google.com> #3
Yes - A fix for this was recently submitted and will be in the next version of Room.
Description
Version used: 2.7.0-alpha05
Devices/Android versions reproduced on: Windows
Room generated code that contains `androidx.room.util.recursiveFetchArrayMap` but this function is not available in the `RelationUtil` in `room-runtime-jvm-2.7.0-alpha05-sources` where all the other `recursive*` functions are...