Remove the "x/mongo/driver/operation" package

XMLWordPrintableJSON

    • Type: Epic
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Remove ops package
    • Go Drivers
    • None
    • Hide
      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?
      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • In Progress
    • 0
    • 0
    • 4
    • 100
    • 🟢 On Track
    • Hide

      Started Jul 6

      Show
      Started Jul 6
    • Hide

      2026-07-06 - 🟢 On Track
      Started Jul 6


      2026-07-06 - 🟢 On Track
      No project update provided


      2026-07-06 - No confidence status provided
      No project update provided


      2026-05-02 - No confidence status provided
      No project update provided


      Show
      2026-07-06 - 🟢 On Track Started Jul 6 2026-07-06 - 🟢 On Track No project update provided 2026-07-06 - No confidence status provided No project update provided 2026-05-02 - No confidence status provided No project update provided
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are currently 1,000+ lines of code in the x/mongo/driver/operation package that are mostly for setting fields on operation structs and passing through fields to the driver.Operation struct. That code provides no increase in usability but is a maintenance burden whenever we need to update operations. We should remove the x/mongo/driver/operation package and move the command document creation and result document decode logic into the mongo package instead.

      Definition of done:

      • Removing the x/mongo/driver/operation package. Move the command document creation and result document decode logic to the mongo package.
      • (Optional) Consider marking all field setters as deprecated in the v1 branch.

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

              Created:
              Updated:
              3 weeks, 4 days
              None
              None