8000 Bson model · Issue #27 · agcom/bson · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
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.
Bson model #27
Open
Open
@agcom

Description

@agcom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeatureA new functionality

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0