Skip to content

Conversation

jjonescz
Copy link
Member

@jjonescz jjonescz commented May 7, 2024

Adds support for RazorWarningLevel (similar to C# WarningLevel) - so the razor compiler can report new warnings on existing code and users will be able to turn those warnings off to avoid breaking their builds.
Related to dotnet/razor#10346.

I plan to add a test once razor official builds work again so I can flow a razor build here to test it in CI.

@ghost ghost added Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch untriaged Request triage from a team member labels May 7, 2024
Copy link
Contributor

Thanks for your PR, @jjonescz.
To learn about the PR process and branching schedule of this repo, please take a look at the SDK PR Guide.

@Frulfump
Copy link

Any news for this PR seems like a nice feature

@jjonescz
Copy link
Member Author

Any news for this PR seems like a nice feature

Once we want to introduce a new warning that would break existing code, we would use this feature for it, but currently we don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants