[GODRIVER-708] bsonx package is exposed in the public API of some stable packages Created: 15/Dec/18  Updated: 28/Oct/23  Resolved: 21/Dec/18

Status: Closed
Project: Go Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 0.2.0

Type: Bug Priority: Major - P3
Reporter: Sam Kleinman (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: evg
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to GODRIVER-729 Add IndexOptions struct to use as the... Closed

 Description   

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.



 Comments   
Comment by Githook User [ 21/Dec/18 ]

Author:

{'username': 'skriptble', 'email': 'kris@mongodb.com', 'name': 'Kris Brandow'}

Message: Remove exposure of bsonx package in stable API

GODRIVER-708

Change-Id: I9781f38eaf72077ad3cef5281d18968164f888e0
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/8051092034cf81df0a5ada824da3bf34a2e00535

Comment by Kristofer Brandow (Inactive) [ 19/Dec/18 ]

Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/437885.

Generated at Thu Feb 08 08:34:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.