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

bsoncore.Value#Array should return Array, not Document

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.5.2
    • None
    • None
    • None
    • Not Needed

    Description

      In 1.5.0, we made bsoncore.Array its own type rather than an alias of bsoncore.Document. We should also change the bsoncore.Value#Array and ArrayOK functions to return Array rather than Document as they currently do. bsoncore.ReadArray will also require a fix and we should audit the rest of bsoncore to make sure we don't miss anything.

      Attachments

        Activity

          People

            benji.rewis@mongodb.com Benji Rewis (Inactive)
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: