Skip to content

Conversation

himanshusinghs
Copy link
Contributor

MONGOSH-545

This PR introduces a public method getURI on Mongo which returns connection string of current active connection.

Mongo.getURI returns connection string of current active connection
Copy link
Collaborator

@addaleax addaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Only catch is that in our monorepos (Compass and mongosh) we put the package name in parentheses after the commit type, i.e. you probably want to make this feat(shell-api): … 🙂

@himanshusinghs himanshusinghs changed the title feat: introduces public Mongo.getURI feat(shell-api): introduces public Mongo.getURI Jan 18, 2023
@himanshusinghs himanshusinghs merged commit f5552fe into main Jan 18, 2023
@himanshusinghs himanshusinghs deleted the MONGOSH-545-mongo-getURI branch January 18, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants