Skip to content

Kapt task fails if @kotlinx.serialization.Serializable is also applied to the class #96

@hamza-maqsood

Description

@hamza-maqsood
@Entity
@kotlinx.serialization.Serializable
data class User(
    @Id
    val userId: String,
    val name: String
)

if I have a class like this, the build fails with the following error: Exception while building entity graph: pl.touk.krush.validation.ElementTypeNotFoundException: Could not resolve Companion type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions