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

Add an alias in bsoncore for an Array

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 1.1.0
    • None
    • BSON

    Description

      bsoncore has a bsoncore.Document which is used for both documents and arrays. That is fine since this is very low level. However, it is very confusing when passing around arrays because the type is a bsoncore.Document. It would be great if we had a bsoncore.Array type alias so that it is clear that these bytes we are passing around is an array as opposed to a document.

      Attachments

        Activity

          People

            connie.yu@mongodb.com Run Tian Yu (Inactive)
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: