-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: BSON
-
None
The separation between the BSON packages mostly exists to prevent import cycles, but otherwise doesn't make a lot of sense to users. Additionally, it makes seemingly simple changes like making the default string or representation for a bson.D (really an alias of primitive.D) extended JSON (also due to import cycles).
Merge the primitive and package into the main bson package.
Definition of done:
- Move all exported symbols from the primitive package to the bson package.
- Update all dependent code in the Go driver to reference bson instead of primitive.
- Update all documentation in the Go driver to reference bson instead of primitive.
- depends on
-
GODRIVER-2416 Completely remove "x/bsonx" package and types
- Closed
-
GODRIVER-2707 Merge the "bsonrw" package into the "bson" package
- Closed
-
GODRIVER-2708 Merge the "bsoncodec" package into the "bson" package
- Closed
-
GODRIVER-2612 Remove all references to the bson/primitive/bsonrw packages from bsoncore
- Closed