[GODRIVER-677] Alias needed in bson package for primitive.E Created: 06/Dec/18 Updated: 12/Dec/18 Resolved: 12/Dec/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | 0.1.0 |
| Fix Version/s: | 0.2.0 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Craig Wilson | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
bson.D is an alias for primitive.D. It works fine. However, if I'm building up a D incrementally by appending E's to it, I'm forced to import the primitive package.
There should be a type alias for E in the bson package. |
| Comments |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'Kris Brandow', 'email': 'kris@mongodb.com', 'username': 'skriptble'}Message: Add alias for primitive.E in bson package Change-Id: I5774a13a12aca7dbfd5486dc0a8e14fadb83ce78 |
| Comment by Kristofer Brandow (Inactive) [ 10/Dec/18 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/436773. |