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

Connection string factory in AddMongoDb #844

Closed
ivan-codes-foss opened this issue Oct 18, 2021 · 2 comments
Closed

Connection string factory in AddMongoDb #844

ivan-codes-foss opened this issue Oct 18, 2021 · 2 comments
Labels

Comments

@ivan-codes-foss
Copy link

What would you like to be added:

An extension method for adding a health check for MongoDB which accepts a delegate to create connections strings similar to how this is done in one of the SqlServerHealthCheckBuilderExtensions.AddSqlServer extension methods.

Why is this needed:

I want to be able to configure connection string by resolving it from a service which is configured with the ServiceProvider.

@sungam3r
Copy link
Collaborator

PR is welcome.

@sungam3r
Copy link
Collaborator

Duplicate of #770, fixed in #1948 .

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

No branches or pull requests

2 participants