Add an alias in bsoncore for an Array

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.1.0
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Run Tian Yu (Inactive)
            Reporter:
            Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: