[GODRIVER-253] bson.Reader.Lookup should return ErrElementNotFound if no element is found Created: 20/Feb/18 Updated: 28/Oct/23 Resolved: 20/Feb/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samuel Rossi (Inactive) | Assignee: | Samuel Rossi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently, bson.Reader.Lookup returns (nil, nil) if no element is found. For consistency with bson.Document, it should return (nil, ErrElementNotFound) in this case. |
| Comments |
| Comment by Githook User [ 20/Feb/18 ] |
|
Author: {'email': 'saghmrossi@gmail.com', 'name': 'Saghm Rossi', 'username': 'saghm'}Message: Change-Id: I584b72a8a4fe59c22c600649262cd3e247072853 |
| Comment by Samuel Rossi (Inactive) [ 20/Feb/18 ] |
|
Code review url: https://review.gerrithub.io/c/400719/ |