Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Bson model #27

Open
agcom opened this issue Aug 14, 2020 · 0 comments
Open

Bson model #27

agcom opened this issue Aug 14, 2020 · 0 comments
Labels
enhancement New feature or request feature A new functionality
Milestone

Comments

@agcom
Copy link
Owner

agcom commented Aug 14, 2020

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 of BsonValue is not defined.
  • BsonType is redundant when class type is self explanatory.
  • BsonArray can extend BsonDocument
@agcom agcom added enhancement New feature or request feature A new functionality labels Aug 14, 2020
@agcom agcom changed the title BsonElement Bson model Aug 14, 2020
@agcom agcom pinned this issue Aug 29, 2020
@agcom agcom added this to the v2.0.0 milestone Aug 29, 2020
@agcom agcom self-assigned this Sep 29, 2020
@agcom agcom removed their assignment Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request feature A new functionality
Projects
None yet
Development

No branches or pull requests

1 participant