bsoncore.Value#Array should return Array, not Document

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: