[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

GODRIVER-677

Change-Id: I5774a13a12aca7dbfd5486dc0a8e14fadb83ce78
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/bab29e44e0de6a39159adb3a262c3c515ec8f587

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

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

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