dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.57k stars 390 forks source link

CosmosDB Components should allow for CosmosClientOptions to be configured via IConfiguration #667

Open eerhardt opened 10 months ago

eerhardt commented 10 months ago

With #359, we added CosmosDB Components. ComosDB follows the same pattern as other Azure clients - it has XXXClient and XXXClientOptions objects.

The other Azure components allow for the XXXClientOptions object to be bound to IConfiguration, so users can tweak their settings without rebuilding/redeploying the app.

We should enable the same behavior in the CosmosDB components.

davidfowl commented 7 months ago

Do we still want to do this?

eerhardt commented 7 months ago

Do we still want to do this?

I think so. It should be consistent with the other Azure components.

eerhardt commented 6 months ago

@Pilchie - is this something your team plans on implementing?

eerhardt commented 4 months ago

@kundadebdatta - can I assign this issue to you?

eerhardt commented 4 months ago

@kundadebdatta - can you comment on this issue so I can assign it to you?