The next MongoDB driver for Kotlin ktmongo.opensavvy.dev
kotlin mongodb multiplatform

feat(bson): Hardcode the Timestamp serializer to handle the KxS configuration of the official driver master

This technique is documented here: https://www.mongodb.com/docs/drivers/kotlin/coroutine/current/data-formats/serialization/#custom-serializer-example However, it is made more complex by the fact that: • We support non-JVM platforms → therefore, it must be behind an expect/actual • We support non-official drivers → therefore, it must be 'compileOnly'


+192 -14
6 changed files