Closed ronjunevaldoz closed 1 year ago
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 )
Not sure to understand the use case. If I look at the doc: https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-transient/
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.