Limit options which are passed to the generic command helper

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Operations Layer
    • None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      The CommandOperation resolves types relevant to command construction in its constructor, but ultimately passes the operation options to the generic command helper, thus requiring the types to be compatible which is not what we want. An example of the problem this causes is that the CommandOperation subclass should accept "WriteConcern"-like options (w, j, writeConcern), but the generic command helper should only accept a properly constructed WriteConcern type.

            Assignee:
            Unassigned
            Reporter:
            Matt Broadstone
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: