Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4042

Remove executeLegacyOperation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 4.5.0
    • Affects Version/s: None
    • Component/s: None
    • 1
    • Not Needed

      Use Case

      As a driver engineer
      I want to get rid of the legacy helper
      So that all operations pass through the same handler logic for execution

      User Impact

      • None

      Dependencies

      • None

      Unknowns

      • None

      Acceptance Criteria

      • Create anonymous AbstractOperation classes that can be passed into executeOperation that maintain the existing behavior

      Implementation Requirements

      • Remove the executeLegacyOperation helper, bulkWrite and gridFS operations can be run through the same executeOperation helper all other commands go through.

      Testing Requirements

      • If helpers are introduced to allow the legacy users to use the executeOperation function they should be unit tested.
      • Existing tests should cover changes.

      Documentation Requirements

      • None

      Follow Up Requirements

      • Declare actual operations for these legacy users.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: