Is kotlin.serialization compatible with compose? I...
# compose
c
Is kotlin.serialization compatible with compose? I get this: org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during code generation
v
I don't think it has anything to do with compose. I use compose and serialization in one project without problem.
👍 1
c
yeah my mistake is a problem with kotlinx.parcelize when using @IgnoredOnParcel
Copy code
@Parcelize
@Serializable
data class Contact (
    val firstName: String = "",
    val lastName: String = "",
) : Parcelable {
    @IgnoredOnParcel
    val fullName = firstName.capitalize(Locale.getDefault()) + " " + lastName.capitalize(Locale.getDefault())
}