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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.17
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      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.

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

              Created:
              Updated:
              Resolved: