[GODRIVER-613] Add bsoncore Builder types Created: 25/Oct/18 Updated: 28/Oct/23 Resolved: 07/Aug/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Kriti Ravindran (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The bsoncore package works well for constructing BSON as a []byte but it tends to be verbose. Adding a simple builder style constructor would enable single line building of BSON. Add this type, it should contain an appender for each BSON type and Start and End appenders for BSON types that contain documents. |
| Comments |
| Comment by Githook User [ 12/Aug/20 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: |
| Comment by Githook User [ 07/Aug/20 ] |
|
Author: {'name': 'Kriti Ravindran', 'email': 'kriti.ravindran@mongodb.com', 'username': 'KritiRav'}Message: |