[GODRIVER-2723] Merge the "bsontype" package into the "bson" package Created: 23/Dec/22  Updated: 08/Jan/24

Status: Backlog
Project: Go Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Improvement Priority: Unknown
Reporter: Matt Dale Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Go Driver 2.0 BSON
Quarter: FY24Q3
Backwards Compatibility: Major Change

 Description   

The separation between the bsontype and bson package will be unnecessary once all BSON library packages are merged together. Merge all code from the bsontype package into the bson package.

Definition of done:

  • Copy all code from the bsontype package to the bson package.
  • Rename the bsontype.Type constants to {Type*}} (should match the existing "type" constants currently in the bson package).
  • Copy and un-export the Type constants from the bsontype package to the bsoncore package to avoid importing the bson package into bsoncore.

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