Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-814

Make Topology, Server, and Connection configuration public

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      Configuring a topology.Topology, topology.Server, or connection.Connection currently requires using self referential functions, but the parameters to these options are themselves functions to enable adaptive changing of settings. While this is a useful design for complex configuration scenarios, the configuration of these types is simple. Additionally, since the configuration types are all private, it is extremely difficult to test if they have been correctly setup.

      Remove the current way options are configured for the topology.Topology, topology.Server, and connection.Connection types and make their configuration types public. This configuration should operate in the same manner as the options for mongo.Client and other similar types.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: