[GODRIVER-2749] Deprecate all "Merge*Options" functions Created: 03/Feb/23 Updated: 28/Oct/23 Resolved: 14/Feb/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.12.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Matt Dale | Assignee: | Matt Dale |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Go Driver 2.0 Prep | ||||||||
| Quarter: | FY24Q1 | ||||||||
| Documentation Changes: | Not Needed | ||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||
| Description |
|
We currently maintain 51 Merge*Options functions that contain 1,000+ lines of code, plus tests. The sole purpose of those functions is to merge *Options structs together so that users can provide 2 or more options structs in APIs with a variadic options parameter. However, the vast majority of users only provide 0 or 1 options structs. Deprecate all of those Merge*Options functions in preparation to remove them in Go driver 2.0. Definition of done:
|
| Comments |
| Comment by Githook User [ 14/Feb/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: |
| Comment by Matt Dale [ 14/Feb/23 ] |