Simplify normalization logic for URI options and command line options

XMLWordPrintableJSON

    • 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).

            Assignee:
            Unassigned
            Reporter:
            Evgeni Dobranov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: