Litote/kmongo

@Transient from kotlin serialization does not deserialize data?

ronjunevaldoz opened this issue · 1 comments

In the below data class, for example using aggregation to get the data, the @transient field is expected to return a value from mongodb data. But it doesn't work.

@Serializable
data class Test(
    val readWrite : String,
    @Transient readOnly: String
)