[GODRIVER-1775] Deprecate unnecessary FindOne options Created: 22/Oct/20 Updated: 11/Feb/21 Resolved: 08/Feb/21 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Benji Rewis (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Our FindOneOptions type allows specifying options like BatchSize and CursorType. These aren't valid for a FindOne operation because there is no cursor created, so they can be deprecated. |
| Comments |
| Comment by Kevin Albertson [ 11/Feb/21 ] |
|
Cherry-picked onto release/1.5 with https://github.com/mongodb/mongo-go-driver/commit/4b2134de9df3cb9ecd41e69c5112ef805a9d5d69 |
| Comment by Githook User [ 08/Feb/21 ] |
|
Author: {'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}Message: |
| Comment by Benji Rewis (Inactive) [ 04/Feb/21 ] |