Skip to content

Commit b505f0f

Browse files
neilshwekyp
andauthored
RUBY-2867 Change Decimal128 to deserialize to BigDecimal by default (#275)
* RUBY-2867 deserialize Decimal128 to BigDecimal by default, add tests * RUBY-2867 add options to recursion in mri * RUBY-2867 fix all tests * tentative keyword arg fix * RUBY-2867 update documentation to use present tense * compatibility with Ruby pre-2.7 * redo parameter handling again Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent 6d39ad8 commit b505f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/bson-v4.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ follows:
549549

550550
.. note::
551551

552-
In BSON 5.0, ``BSON::Decimal128`` will be deserialized into ``BigDecimal`` by
552+
In BSON 5.0, ``BSON::Decimal128`` is deserialized into ``BigDecimal`` by
553553
default. In order to have ``BSON::Decimal128`` values in BSON documents
554554
deserialized into ``BSON::Decimal128``, the ``mode: :bson`` option can be set
555555
on ``from_bson``.

0 commit comments

Comments
 (0)