-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
We should not Unmarshal the values returned in a "distinct" command here, and should instead provide a way for users to Unmarshal to their own custom data.
Definition of done:
- Return a decodable struct from Distinct by which users can decode their data. See this thread for more information: https://github.com/mongodb/mongo-go-driver/pull/1411#pullrequestreview-1691017291
- depends on
-
GODRIVER-1639 Add a "bson.RawArray" type to improve BSON array lookup API
- Closed
-
GODRIVER-3049 Replace bsoncore.DocumentSequence with a bson type-agnostic analogue
- Closed
- is related to
-
GODRIVER-2426 Distinct does not provide unmarshalling api
- Closed
- related to
-
GODRIVER-2444 Consider a DistinctCursor collection method
- Backlog