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

BSON Type 0x00 (document) missing

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Unknown Unknown
    • None
    • 1.5.1
    • BSON
    • None
    • Linux
    • Hide

      May need to include new Document type in the godoc.

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: