Move the Delete logic into the "mongo" package

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 2.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Go Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Describe the background behind the problem.

      Definition of done

      • Move the "operation.Delete" type into the "mongo" package and unexport it.
        • Rename "Delete" to "deleteOp".
        • Rename struct field "result" to "res".
        • Unexport all methods on struct "deleteOp".
        • Move the "deleteOp" code to "mongo/op_delete.go"
      • Remove all exported setter methods.
      • Update all code to use the moved "mongo.deleteOp" type.
      • Delete "x/mongo/driver/operation/delete.go"

      Pitfalls

      What should the implementer watch out for? What are the risks?

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

              Created:
              Updated:
              Resolved: