Make connection string parsing public

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.0.0
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      In mongosh, we just added connection string parsing code

      https://github.com/mongodb-js/mongosh/blob/f6e31c9cf0f79b6f9becbbb7a77f528ae88118bc/packages/service-provider-core/src/connection-string.ts

      which is closely adapted from the driver source code (as mentioned in a comment there).

      It would be nice if the driver’s parseURI function could be exposed publicly, or maintained in a separate dependency, so that it’s easier to re-use.

              Assignee:
              Anna Henningsen
              Reporter:
              Anna Henningsen
              Daria Pardue
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: