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

BSON Type 0x00 (document) missing

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: 1.5.1
    • Component/s: BSON
    • Labels:
      None
    • Environment:
      Linux
    • Hide

      May need to include new Document type in the godoc.

      Show
      May need to include new Document type in the godoc.

      bsontype.go does not include `0x00` for top level document types per the bsonspec.org.

      This can be seen when using `UnmarshalBSONValue` to determine the document type.

      Attached code to duplicate the issue.

            Assignee:
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Reporter:
            mike.dotson@its-broke.com Mike Dotson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: