[GODRIVER-2700] Remove all public API references to "x" packages from Go driver code Created: 16/Dec/22  Updated: 08/Jan/24

Status: Backlog
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Improvement Priority: Unknown
Reporter: Matt Dale Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Go Driver 2.0: Driver
Backwards Compatibility: 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.

Generated at Thu Feb 08 08:39:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.