AutoGetCollection currently has three optional parameters (or more for certain of its variations), and potentially more could be added in the future. This can become unwieldy as callers may want to use a non-default option for a later parameter but not an earlier one. We can help alleviate this by adding a version of AutoGetCollection which takes an AutoGetCollectionOptions struct containing these optional parameters.
- is depended on by
-
SERVER-68337 Perform collectionUUID check inside of AutoGetCollection
- Closed
- related to
-
SERVER-63754 avoid copying NamespaceStringOrUUID vector in OptionsWithSecondaryCollections
- Closed