[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:
Related
related to GODRIVER-639 bsoncore.BuildArray() function to mir... Closed
related to GODRIVER-1408 Add helpers for bsoncore.Document and... Backlog
is related to GODRIVER-413 Implement Improved BSON Design Closed

 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: GODRIVER-613 Remove error return from bsoncore builders (#476)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/fbe439ddc1a88b6330fefbdf4e9b973dc9b3dd49

Comment by Githook User [ 07/Aug/20 ]

Author:

{'name': 'Kriti Ravindran', 'email': 'kriti.ravindran@mongodb.com', 'username': 'KritiRav'}

Message: GODRIVER-613 add bson document and array builders to bsoncore (#472)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/62c959234b743a2931c447967539ebc2d2d95a53

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