NEventStore / NEventStore.Persistence.MongoDB

Mongo Persistence Engine for NEventStore
MIT License
22 stars 26 forks source link

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

Closed AGiorgetti closed 2 years ago

AGiorgetti commented 2 years ago

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.