Skip to content

Add Logging category names to ConfigurationSchema#430

Merged
eerhardt merged 1 commit intomainfrom
Fix174
Oct 23, 2023
Merged

Add Logging category names to ConfigurationSchema#430
eerhardt merged 1 commit intomainfrom
Fix174

Conversation

@eerhardt
Copy link
Copy Markdown
Member

This allows for auto completion and intellisense for the Logging:LogLevel section of the appsettings.json file.

Fix #174

This allows for auto completion and intellisense for the Logging:LogLevel section of the appsettings.json file.

Fix #174
- Metric names:
- none (currently not supported by the Azure SDK)

Aspire.Npgsql.EntityFrameworkCore.PostgreSQL:
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes were all sorting and deduping.

@DamianEdwards
Copy link
Copy Markdown
Member

@eerhardt screenshot of the result in VS?

@eerhardt
Copy link
Copy Markdown
Member Author

@eerhardt screenshot of the result in VS?

image

image

image

and finally:

image

(note the green squiggly goes away once you pick a value:

image

@DamianEdwards
Copy link
Copy Markdown
Member

Awesome! This leads to another potential feature request for the dynamic schema feature, namely being able to request that the properties being added can be expanded via a configurable character (in this case .), so that Microsoft.Extensions.Caching.StackExchangeRedis gets expanded to Microsoft, Microsoft.Extensions, Microsoft.Extensions.Caching and Microsoft.Extensions.Caching.StackExchangeRedis. It's similar to the hierarchical expansion for contributed sections we've discussed, but for properties instead.

@eerhardt eerhardt merged commit 7ef05d3 into main Oct 23, 2023
@eerhardt eerhardt deleted the Fix174 branch October 23, 2023 13:33
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2024
@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Logging category names to ConfigurationSchema

3 participants