imranmomin / Hangfire.AzureCosmosDb

Azure Cosmos DB storage provider for Hangfire
https://www.hangfire.io/
MIT License
18 stars 17 forks source link

Overload CosmosDbStorage constructor #38

Closed yanetc closed 2 years ago

yanetc commented 2 years ago

Overload CosmosDbStorage constructor. New version accept an instance of CosmosClient, it give the opportunity of create CosmosClient in other way, for example with role-based access as in this example https://docs.microsoft.com/en-gb/azure/cosmos-db/how-to-setup-rbac#in-net.

yanetc commented 2 years ago

Hi @imranmomin ,

I already implement your recommendations.

Could you review if I missed something else, please?

Thanks in advance!