Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion analyzers/rspec/cs/S6803.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<p>Component parameters can only receive query parameter values in routable components with an @page directive.</p>
<p>&lt;p&gt;This rule is deprecated, and will eventually be removed.&lt;/p&gt; Component parameters can only receive query parameter values in
routable components with an @page directive.</p>
<h2>Why is this an issue?</h2>
<p><a
href="https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.components.supplyparameterfromqueryattribute">SupplyParameterFromQuery</a>
Expand Down
2 changes: 1 addition & 1 deletion analyzers/rspec/cs/S6803.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Parameters with SupplyParameterFromQuery attribute should be used only in routable components",
"type": "CODE_SMELL",
"status": "ready",
"status": "deprecated",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "5min"
Expand Down
1 change: 0 additions & 1 deletion analyzers/rspec/cs/Sonar_way_profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@
"S6797",
"S6798",
"S6800",
"S6803",
"S6930",
"S6931",
"S6934",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

namespace SonarAnalyzer.Rules.CSharp;

[Obsolete("This rule has been deprecated since 9.25")]
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public sealed class BlazorQueryParameterRoutableComponent : SonarDiagnosticAnalyzer
{
Expand Down