Details
-
Improvement
-
Resolution: Fixed
-
Unknown
-
None
-
None
-
None
-
Not Needed
-
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:
- Deprecate all Merge*Options functions.
Attachments
Issue Links
- is depended on by
-
GODRIVER-2696 Allow only 0 or 1 options structs in all APIs that accept variadic options args
-
- Investigating
-