[GODRIVER-669] Reverse Dependencies between bson and bsonx Created: 03/Dec/18 Updated: 28/Oct/23 Resolved: 19/Dec/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 0.2.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently the bson package depends on the bsonx package which is a reverse of the dependency we should have. A stable package should not be depending on an unstable package, if possible. Therefore, we need to reverse the dependency. To reverse the dependency, the tests for the bsonx types need to be moved from the bson package to the bsonx package and the usage of bsonx types within the other tests for the bson package need to be changed to use bsoncore orĀ bson/primitive types. |
| Comments |
| Comment by Githook User [ 19/Dec/18 ] |
|
Author: {'username': 'skriptble', 'email': 'kris@mongodb.com', 'name': 'Kris Brandow'}Message: Reverse the dependency between bson and bsonx Change-Id: I0a25021a7537ec34001cc258fa8909cf18162434 |
| Comment by Kristofer Brandow (Inactive) [ 18/Dec/18 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/437573. |
| Comment by Ian Whalen (Inactive) [ 03/Dec/18 ] |
|
on this ticket, need to ensure mongo package does not depend on bsonx. |