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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-09-05, Execution Team 2022-09-19

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: