[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: |
|
||||||||
| 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 Change-Id: I9781f38eaf72077ad3cef5281d18968164f888e0 |
| Comment by Kristofer Brandow (Inactive) [ 19/Dec/18 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/437885. |