[GODRIVER-2965] Make the "description" package internal Created: 30/Aug/23  Updated: 08/Jan/24

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

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

Issue Links:
Depends
depends on GODRIVER-3058 Centralize x-package Connection inter... In Code Review
Gantt Dependency
has to be done before GODRIVER-2899 Server selector constructors should n... Backlog
Related
related to GODRIVER-2694 Return errors from "description.NewSe... Backlog
Epic Link: Go Driver 2.0: Driver
Quarter: FY24Q3
Backwards Compatibility: Major Change
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Most of the "description" package does not need to be part of the public API. The few parts that do can be merged into the most appropriate package(s).

Definition of done:

  • Move the mongo/description package into the "internal/" directory.
  • Make a copy of the description.Server and description.Topology types and move them to the event package.
    • Use the "internal" version of the server and topology descriptions in all of the driver code. Only use the "event" version for emitting events.

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