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

bsonx package is exposed in the public API of some stable packages

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.2.0
    • Affects Version/s: None
    • Component/s: API
    • Labels:

      Before release, we must remove any reference to the bsonx package in the public API of any stable package.

      Original Description

      In order to create indexes via the driver, you must specify the index specification using the mongo.IndexModel type, which is quite snappy). However, this type expects keys to be specified as a bsonx.Doc.

      I would expect this to use a bson.D.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: