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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Major Change
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Matt Dale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: