Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retrieves connection string from config for commands #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jaydublu2002
Copy link

This PR retrieves a connection string retrieved from config rather than a hard coded 'mongodb' in the command classes that add & drop session index to use - otherwise if session.connection in config is not 'mongodb' the commnds will attempt to use a different connection string than SessionServiceProvider

@jaydublu2002
Copy link
Author

Hi @spont4e - have you had a chance to review this? I would really like to use this package in a project but we are committed to having a different database connection name, hence the PR.

Best wishes, and thanks for the excellent package,

Jim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant