Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate S6803 #3910

Merged
merged 3 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions rules/S6803/csharp/metadata.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"
costin-zaharia-sonarsource marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -13,7 +13,7 @@
"ruleSpecification": "RSPEC-6803",
"sqKey": "S6803",
"scope": "All",
"defaultQualityProfiles": ["Sonar way"],
"defaultQualityProfiles": [],
"quickfix": "infeasible",
"code": {
"impacts": {
Expand Down
2 changes: 2 additions & 0 deletions rules/S6803/csharp/rule.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*This rule is deprecated, and will eventually be removed.*

Component parameters can only receive query parameter values in routable components with an @page directive.

== Why is this an issue?
Expand Down