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

reflection panics when doing equality comparisons

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

      https://github.com/mongodb/mongo-go-driver/blob/master/bson/encode.go#L466

      changing this line to use reflect.DeepEqual() rather than == fixed things for me, but I think normal equals should be fine.

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: