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

Configuration: allow to configure MongoClientSettings to edit driver specific client connection settings #60

Closed
AGiorgetti opened this issue Nov 25, 2021 · 0 comments
Assignees

Comments

@AGiorgetti
Copy link
Member

AGiorgetti commented Nov 25, 2021

To access all the possible configuration option supported by the MongoDB C# driver it's better to also configure the driver allowing to configure the instance of MongoClientSettings class generated from the connection string.

It allows to configure anything that cannot be done via connection string.

Add a new configuration function parameter to MongoPersistenceOptions that accepts a function to configure any MongoClientSettings value.

@AGiorgetti AGiorgetti self-assigned this Nov 25, 2021
@AGiorgetti AGiorgetti changed the title Configuration: allow to pass a MongoClientSettings instance to configure the driver connection Configuration: allow to configure MongoClientSettings to specify driver specific client connection settings Nov 25, 2021
@AGiorgetti AGiorgetti changed the title Configuration: allow to configure MongoClientSettings to specify driver specific client connection settings Configuration: allow to configure MongoClientSettings to edit driver specific client connection settings Nov 25, 2021
AGiorgetti added a commit that referenced this issue Nov 25, 2021
to edit driver specific client connection settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant