Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68336

Add version of AutoGetCollection which takes a struct for its optional parameters

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2022-09-05, Execution Team 2022-09-19

      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.

            Assignee:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: