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

ValueReader should support reading the bytes of a top level document

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.1.0
    • Affects Version/s: 0.0.18
    • Component/s: BSON
    • None

      The bsonrw.ValueReader implementation for BSON doesn't support calling ReadValueBytes on a top level document. This makes it impossible to support bson.Marshaler from the top level. Add support for retrieving the bytes of the entire document from ReadValueBytes.

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: