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.7k stars 423 forks source link

Spin off configuration schema generator as a standalone package #3309

Open pedropaulovc opened 6 months ago

pedropaulovc commented 6 months ago

Autocomplete of Aspire configs in appsettings.json is fantastic as my project is growing. I would love to have this capability in my projects as well. Also, I'm using keyed component resolution and the default Aspire schema doesn't know what's the key I'm using in my code. Looks like this capability is handled by the configuration schema generator introduced in #1383 . The team should consider spinning off this capability as an extension package for 3P usage.

davidfowl commented 5 months ago

This is the plan right @eerhardt?

eerhardt commented 5 months ago

This is the plan right @eerhardt?

Yes, we will need to do something here if we want to build Aspire Components outside of the dotnet/aspire repo.