Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-282

bson.Decoder cannot decode into bson types inside of a struct

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.3
    • Affects Version/s: 0.0.2
    • Component/s: None
    • None

      While the decoder supports decoding into *bson.Document and bson.Reader, the decoder does not support these types when they are members of a struct. While I did not test this against maps and slices, we should ensure that the fix works for those as well.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: