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

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

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

      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 Unassigned
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: