-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Not Needed
-
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:
- Deprecate all Merge*Options functions.
- is depended on by
-
GODRIVER-2696 Use an options pattern that doesn't require merging structs
- Closed