ClientOptions::selection_criteria isn't consistently used

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 3.6.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Rust Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      "Option inheritance" is currently implemented by each individual operation needing to specifically check its parent (client/db/collection), either directly or via the resolve_options macro. It looks like we've forgotten to do that for various operations (e.g. RunCommand) and this is going to continue to be a footgun in the future for new operations without changes to how inheritance is implemented.

            Assignee:
            Abraham Egnor
            Reporter:
            Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: