Skip to content

Conversation

@chullybun
Copy link
Collaborator

  • Fixed: The IServiceCollection.AddCosmosDb extension method was registering as a singleton; this has been corrected to register as scoped. The dependent CosmosClient should remain a singleton as is best practice.

- *Fixed:* The `IServiceCollection.AddCosmosDb` extension method was registering as a singleton; this has been corrected to register as scoped. The dependent `CosmosClient` should remain a singleton as is [best practice](https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/best-practice-dotnet).
@chullybun chullybun merged commit ce9f2dc into main Oct 17, 2024
@chullybun chullybun deleted the v3.27.2 branch October 17, 2024 21:09
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.

2 participants