Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4237

Support for Decimal128 type

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.0, 5.2.0, 12_01_17
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Ruby Sprint 45, Ruby Sprint 46

      Description

      I'd like to understand the plan for Ruby/Mongoid to support Decimal128 type which will be included in Mongoid 3.4 (see https://jira.mongodb.org/browse/SERVER-1393)

      update: There must be a global config determining whether BigDecimal - Decimal128 conversion is automatic. See this conversation: https://github.com/mongodb/bson-ruby/pull/61#issuecomment-245003767

      *Make sure to look into RuntimeError "can't modify frozen class" concerning BigDecimal with the new driver (2.4.0 / bson 4.2.0)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              johnnyshields Johnny Shields
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: