Details
-
New Feature
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
None
Description
One of the data types in the tools resembles this:
noformat
type foo struct
noformat
Even with the Stitch-based patches to mgo/bson, this fails unmarshaling with the error "reflect.MakeSlice of non-slice type".
(N.B. Changing the Bar field to *bson.M works.)
This ticket is a reminder that after the planned changes to the BSON encoder and mgobson, we need this particular use case to work to help users who want to use mgobson as a stepping stone converting to the Go driver.
Attachments
Issue Links
- depends on
-
GODRIVER-413 Implement Improved BSON Design
-
- Closed
-
- is related to
-
GODRIVER-1216 mgo compatible bson registry
-
- Closed
-