Skip to content

Commit

Permalink
DOCSP-32078: data class note (#132)
Browse files Browse the repository at this point in the history
* add vale action

* DOCSP-31827: Update page titles (#123)

# Pull Request Info

[PR Reviewing
Guidelines](https://github.com/mongodb/docs-java/blob/master/REVIEWING.md)

JIRA - https://jira.mongodb.org/browse/DOCSP-31827
Staging -
https://docs-mongodbcom-staging.corp.mongodb.com/kotlin/docsworker-xlarge/DOCSP-31827-update-titles/fundamentals/crud/write-operations/modify/

https://docs-mongodbcom-staging.corp.mongodb.com/kotlin/docsworker-xlarge/DOCSP-31827-update-titles/fundamentals/crud/write-operations/delete/

Redirects - 
Redirect 301
/docs/drivers/kotlin/coroutine/v4.10/fundamentals/crud/write-operations/change-a-document/
https://www.mongodb.com/docs/drivers/kotlin/coroutine/v4.10/fundamentals/crud/write-operations/modify/
Redirect 301
/docs/drivers/kotlin/coroutine/master/fundamentals/crud/write-operations/change-a-document/
https://www.mongodb.com/docs/drivers/kotlin/coroutine/master/fundamentals/crud/write-operations/modify/


## Self-Review Checklist

- [x] Is this free of any warnings or errors in the RST?
- [ ] Did you run a spell-check?
- [ ] Did you run a grammar-check?
- [x] Are all the links working?

* Fix Vale GH action (#125)

* DOCSP-32483 programmatic tagging script for the kotlin driver repo (#126)

* DOCSP-30911: Add server lifecycle support callout (#127)

* DOCSP-30911: Add server lifecycle support callout

* 092123 trivial change to test GH action that copies compat tables (#128)

* 092123: Fix copy-compat-to-docs-shared action (#129)

* 092223 compatibility copy (#130)

* 092223: Remove rapid release version from compat table

* DOCSP-32078: bsonrepresentation note

* column width adjustment

* vale fix

---------

Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
Co-authored-by: Chris Cho <chris.cho@mongodb.com>
Co-authored-by: Sarah Lin <55722001+sarahemlin@users.noreply.github.com>
  • Loading branch information
4 people authored Oct 2, 2023
1 parent bba61f6 commit 0d9d3b0
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ You can use the following annotations on data classes:
.. list-table::
:header-rows: 1
:stub-columns: 1
:widths: 10 10
:widths: 30 70

* - Annotation Name
- Description
Expand All @@ -112,8 +112,15 @@ You can use the following annotations on data classes:
field to BSON.

* - ``BsonRepresentation``
- Specifies the BSON type used to store the value when different from the
data class property.
- Specifies the BSON type MongoDB uses to store the value. Use this
annotation only when you need to store a value as a different
BSON type than the data class property.

.. warning::

Your code might throw an exception if you include the
``BsonRepresentation`` annotation on a property that you store
as the same type as the data class property.

For reference information on these property annotations,
refer to the `org.bson.codecs.pojo.annotations <{+api+}/apidocs/bson/org/bson/codecs/pojo/annotations/package-summary.html>`__
Expand Down

0 comments on commit 0d9d3b0

Please sign in to comment.