[GODRIVER-1760] Add functionality to create a topology.Topology from ClientOptions Created: 29/Sep/20 Updated: 12/Aug/22 Resolved: 12/Aug/22 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Preston Vasquez |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | GODRIVER-1588 | ||||||||
| Quarter: | FY23Q3 | ||||||||
| Description |
|
In Client.configure, we convert a set of merged ClientOptions into a slice of TopologyOption, which we then use to construct a topology.Topology. If we move this logic into a topology.Topology constructor, we can clean up Client configuration code and also probably remove the WithConnString topology option. |