Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2700

Remove all public API references to "x" packages from Go driver code

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • 2.0.0
    • None
    • None
    • None
    • Major Change

    Description

      There is currently a lot of duplication of options fields and structs between the exported mongo/options types and type in the the "unstable" x/ packages. We can address some of that duplication with changes in the x/ package APIs, but we should maximize our ability to refactor options in the future by not leaking types defined in the x/ packages.

      Definition of done:

      • Update the type of ClientOptions.Crypt to not use a type from the x/ packages.
      • Update the type of ClientOptions.Deployment to not use a type from the x/ packages.
      • No public API references a value or type defined in an x/ package.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: