-
Notifications
You must be signed in to change notification settings - Fork 222
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
Fix S6967 FP: controller without model #9262
Comments
Hi @hugoqribeiro. Thank you for reporting the issue. |
Description
S6967 reports an error for a controller that does not use any model.
Repro steps
This controller accepts a boolean in the parameters. I think it does not make sense to validate the model state in these cases.
This happens also with controllers accepting integers or strings in the parameters.
Expected behavior
This controller action should not trigger the rule error.
Actual behavior
See above.
Known workarounds
None.
Related information
The text was updated successfully, but these errors were encountered: