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

Value.Interface() should return the underlying type for a Document

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.17
    • None
    • None

    Description

      The Value.Interface() method currently always returns a Reader for a document and an Array for an array. Change this to inspect the underlying representation (whether the d field is nil) and return either a *bson.Document or a bson.Reader.

      Attachments

        Activity

          People

            isabella.siu@mongodb.com Isabella Siu (Inactive)
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: