-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Some URI options have command line (CL) options as their mirrored counterparts. Currently though, we have ~10 lines of code to normalize/sync the structs for every URI-CL pair. This quickly adds up with 20+ possible URI options.
We should see what possible ways there are to substitute this logic out for something more modular, perhaps with marshalling/unmarshalling structs and comparing fields iteratively as one idea.
Also note that the work done on GODRIVER-1588 will likely change ConnString fields to pointers which may influence – and hopefully help with – any design decisions here. We should wait for completion of the relevant ticket in that epic first (GODRIVER-1498).
- depends on
-
GODRIVER-1498 Refactor URI parsing to use pointers
- Backlog
- is related to
-
TOOLS-2504 Setting connection options equal to zero values will never cause conflicts with a URI
- Accepted
- split from
-
TOOLS-2576 Better coordinate URI options with command line options
- Accepted