Open bozaro opened 1 month ago
Fixes decoding encoding.TextUnmarshaler slice
This change is useful for decoding types like type ObjectID [12]byte (https://github.com/mongodb/mongo-go-driver/blob/2a0310912fc03388a3a38f504619758765d1be15/bson/objectid.go#L28-L29)
Same as #132, #180
At first glance, some of the changes don't make a whole lot of sense to me. I'll try to come back and review when I'm less tired.
Fixes decoding encoding.TextUnmarshaler slice
This change is useful for decoding types like type ObjectID [12]byte (https://github.com/mongodb/mongo-go-driver/blob/2a0310912fc03388a3a38f504619758765d1be15/bson/objectid.go#L28-L29)
Same as #132, #180