Definition of done:
- Update RawValue.Binary(OK) to return bson.Binary
- Update RawValue.DateTime(OK) to return bson.DateTime
- Update RawValue.Regex(OK) to return bson.Regex
- Update RawValue.DBPointer(OK) to return bson.DBPointer
- Update RawValue.JavaScript(OK) to return bson.JavaScript
- Update RawValue.Symbol(OK) to return bson.Symbol
- Update RawValue.CodeWithScope(OK) to return bson.CodeWithScope
- Update RawValue.Timestamp(OK) to return bson.Timestamp
- Consider deprecating or removing RawValue.Time. Suggest using RawValue.DateTime().Time() instead.
- That's not quite as convenient for the OK use case, so maybe keep it?
- Should we replace it with AsTime(OK) instead?
- Consider deprecating the BSON library types and methods that correspond to deprecated BSON types
- Undefined, DBPointer, Symbol, CodeWithScope
- is related to
-
GODRIVER-1639 Add a "bson.RawArray" type to improve BSON array lookup API
- Closed
-
GODRIVER-2663 Deprecate "bson.Raw" APIs to support merge with "bsoncore.Document" API
- Closed