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

Support for Decimal128 type

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0, 5.2.0, 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • None

      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)

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            johnnyshields Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: