-
Notifications
You must be signed in to change notification settings - Fork 9
[Kotlin Sync] Support naming strategy for bson-kotlinx #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for docs-kotlin-sync ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
source/whats-new.txt
Outdated
@@ -29,6 +29,10 @@ What's New in 5.4 | |||
The 5.4 driver release includes the following changes, fixes, | |||
and features: | |||
|
|||
- Adds support for converting field names to snake case during serialization. To |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: consider bumping this out into a "Serialization Features" subheading
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm w/ 2 small suggestions!
The following example shows how to create and register a custom codec | ||
to convert data class field names into snake case by setting the | ||
``bsonNamingStrategy`` parameter in a codec: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: remove extra line
- Adds ``BsonConfiguration`` support for bson-kotlinx snake case conversion | ||
during serialization. To learn more, see the | ||
:ref:`kotlin-sync-serialization-snake-case-eg` on the Serialization page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Adds ``BsonConfiguration`` support for bson-kotlinx snake case conversion | |
during serialization. To learn more, see the | |
:ref:`kotlin-sync-serialization-snake-case-eg` on the Serialization page. | |
- Adds ``BsonConfiguration`` support in the ``bson-kotlinx`` package for snake case | |
conversion during serialization. To learn more, see the | |
:ref:`kotlin-sync-serialization-snake-case-eg` section in the Serialization page. |
* snake case example * move release note * dependency name * RR feedback * update release note (cherry picked from commit 84aa7bb)
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-46215
Staging Links
Self-Review Checklist