Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5736

Support naming strategy for bson-kotlinx

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 5.4.0
    • Affects Version/s: None
    • Component/s: Kotlin
    • None
    • None
    • Fully Compatible
    • Java Drivers
    • Needed
    • Hide

      See: DOCSP-46215

      Show
      See: DOCSP-46215
    • None
    • None
    • None
    • None
    • None
    • None

      With the deprecation of KMongo, many developers are now considering or actively migrating to the Kotlin Mongo Driver. One of the key benefits of KMongo was the ability to utilize the Jackson library for configuring custom naming strategies. However, this functionality is currently missing in the Kotlin Mongo Driver, making it difficult for teams to maintain consistent naming conventions when transitioning away from KMongo.

      Kotlinx Serialization provides a global naming strategy(snake case only), but bson-kotlinx—which uses kotlinx.serialization.json internally—would need additional code changes to expose and properly integrate this feature.
       

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            lee@sungbin.dev Sungbin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None