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

bsoncore.Value#Array should return Array, not Document

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Not Needed

      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.

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

              Created:
              Updated:
              Resolved: