- #222 Kotlin 1.4 support 🎉
Breaking changes for kotlinx.serialization around @SerialName
usage:
-
Need to add on annotated property
@SerialName("_id")
the@MongoId
annotation: see https://litote.org/kmongo/object-mapping/#set-your-_id -
Need to add on annotated property
@SerialName("myProperty")
the@MongoProperty
annotation: see https://litote.org/kmongo/object-mapping/#workaround-around-typed-queries-and-serialname