Move the List* logic into the "mongo" package

XMLWordPrintableJSON

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

      Context

      Describe the background behind the problem.

      Definition of done

      • Move the "operation.List*" types into the "mongo" package and unexport them.
        • Ideally keeping each operation type in its own Go file.
      • Remove all exported setter methods.
      • Unexport all methods for the moved types.
      • Update all code to use the moved "mongo.listCollections", "mongo.listDatabases", and "mongo.listIndexes" types.
      • Delete "x/mongo/driver/operation/list_collections.go"
      • Delete "x/mongo/driver/operation/list_databases.go"
      • Delete "x/mongo/driver/operation/list_indexes.go"

      Pitfalls

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

        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved: