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

Fix Equal method for bson.Value and update bson.Element.Equal to properly compare keys

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

      The bson.Value.Equal method doesn't properly ignore keys when comparing values. Fix this method so that two values that are equal return true even if they have different keys. Additionally, add explicit key equality checking to the bson.Element.Equal method.

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

              Created:
              Updated:
              Resolved: