-
Type:
Task
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
0.25
-
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?