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

Change transformValue to use MarshalValue

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.4.0
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: