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

Unmarshaling to a interface{} fails

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.2.0
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      None

      It fails with an invalid type being specified which in this case is 0x00 when using the empty interface decoder. It seems like a good default would be to instead do ReadDocument and set the interface{} to a bson.D

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            eric.daniels@mongodb.com Eric Daniels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: