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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.15
    • None
    • BSON

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: