Details
-
Improvement
-
Resolution: Unresolved
-
Minor - P4
-
None
-
None
-
None
Description
GODRIVER-2119 brought up the point that marshaling from and unmarshaling to instances of map[primitive.ObjectID]string causes an error because primitive.ObjectID does not implement encoding.TextMarshaler nor encoding.TextUnmarshaler for JSON.
We should audit the primitive package to ensure that all types implement these functions.
Attachments
Issue Links
- is related to
-
GODRIVER-2119 Implement encoding.Text(Un)Marshaler for primitive.ObjectID
-
- Closed
-