Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4192

Reduce operations copying of options

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Internal

      Reduce copying of options when creating operations.

      FindOperation can just be passed FindOptions or CountDocumentsOperation can be passed CountOptions.

      It would simplify the OperationsHelper class and reduce the individual Operation's API footprint.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: