-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Context
Describe the background behind the problem.
Definition of done
- Move the "operation.AbortTransaction" and "operation.CommitTransaction" types into the "mongo" package and unexport them.
- Ideally keeping each operation type in its own Go file.
- Remove all exported setter methods.
- Update all code to use the moved "mongo.update" type.
- Delete "x/mongo/driver/operation/abort_transaction.go"
- Delete "x/mongo/driver/operation/commit_transaction.go"
Pitfalls
What should the implementer watch out for? What are the risks?