-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Operations Layer
-
None
-
Empty show more show less
-
Not Needed
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.