Create bson-kotlin

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 4.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?

      The bson-kotlin dependency is optional but if present is available via the default codec registry.

      Uses reflection and the codec registry to support Kotlin Dataclasses
      Some Pojo annotations are not supported (BsonDiscriminator, BsonExtraElements, BsonConstructor).

      Users should generally prefer the faster bson-kotlinx library

      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      For the new kotlin wrapper of the Java driver

      Show
      1. What would you like to communicate to the user about this feature? The bson-kotlin dependency is optional but if present is available via the default codec registry. Uses reflection and the codec registry to support Kotlin Dataclasses Some Pojo annotations are not supported (BsonDiscriminator, BsonExtraElements, BsonConstructor). Users should generally prefer the faster bson-kotlinx library 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to? For the new kotlin wrapper of the Java driver
    • None
    • None
    • None
    • None
    • None
    • None

      Support Kotlin types / Data Classes both via Codecs

      New code - follow the Java record codec approach rather than port the modified pojo codec.

              Assignee:
              Ross Lawley
              Reporter:
              Ross Lawley
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: