This repository was archived by the owner on Jun 24, 2021. It is now read-only.
This repository was archived by the owner on Jun 24, 2021. It is now read-only.
Open
Description
Currently, the library is using models from the org.mongodb.bson
. It's all fun and game until you need the flexibility.
The library design is source of most boiler plate codes. I would like to create a Kotlin implementation of bson model, based on Json model in Kotlinx serialization and inspired by org.mongodb.bson
.
Examples of not enough flexibility (they are just source of boiler plate codes),
BsonPrimitive
subclass ofBsonValue
is not defined.BsonType
is redundant when class type is self explanatory.BsonArray
can extendBsonDocument