-
Type: Improvement
-
Resolution: Gone away
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
When unmarshaling objects in Go, you can't pass in an interface, however it works when unmarshaling json.
```
type X interface {}
type Y struct {}
var z X
z = &Y{}
d.Decode(z) // works in json, not with bson.
```
This is severely limiting for what we can do with the API