[GODRIVER-566] Fix Equal method for bson.Value and update bson.Element.Equal to properly compare keys Created: 18/Sep/18 Updated: 28/Oct/23 Resolved: 27/Sep/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.15 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | beta | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | BSON Encoder & Decoder Redesign |
| 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. |
| Comments |
| Comment by Githook User [ 15/May/19 ] |
|
Author: {'name': 'Kris Brandow', 'username': 'skriptble', 'email': 'kris@mongodb.com'}Message: Split bson package and update mongo package
Change-Id: I55bdfe7f48ded7fd9923d906d3cc6ecaec8156da |
| Comment by Githook User [ 27/Sep/18 ] |
|
Author: {'name': 'Kris Brandow', 'email': 'kris@mongodb.com', 'username': 'skriptble'}Message: Split bson package and update mongo package
Change-Id: I55bdfe7f48ded7fd9923d906d3cc6ecaec8156da |
| Comment by Kristofer Brandow (Inactive) [ 27/Sep/18 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/424724. |