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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: