krush icon indicating copy to clipboard operation
krush copied to clipboard

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

Open hamza-maqsood opened this issue 3 years ago • 0 comments

@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

hamza-maqsood avatar Apr 16 '22 09:04 hamza-maqsood