Anyone using Mongodb Kotlin driver library (the offical/ the new one) with Ktor server? If yes then how you handle ObjectId? if no, then which database solution you use?
a
Aleksei Tirman [JB]
03/13/2024, 8:11 AM
Can you describe your problem in more detail?
a
Ahmed Riyadh
03/13/2024, 8:13 AM
MongoDB Kotlin Driver doesn't support kotlinx.serialization, instead it has a dependency to add the support for it, but it has some issues, like by default it won't store the
Instant
as Bson date time
Ahmed Riyadh
03/13/2024, 8:13 AM
You have to do some workarounds to make it work near perfect