Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1590

Change transformValue to use MarshalValue

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.4.0
    • None
    • CRUD
    • None

    Description

      transformValue only handles strings and documents. The commitQuorum option being added in GODRIVER-1582 supports strings and numbers. Instead of adding more special cases, we can leverage bson.MarshalValue, which will already handle all of the different numerical types. We should also ensure that all users of transformValue have integration tests to catch regressions.

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora (Inactive)
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: