You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,6 @@ and adheres to a project-specific [Versioning](/README.md).
35
35
- S6960: Controllers should not have mixed responsibilities
36
36
- S6961: API Controllers should derive from ControllerBase instead of Controller
37
37
- S6962: You should pool HTTP connections with HttpClientFactory
38
-
- S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting.
39
38
- S6965: REST API actions should be annotated with an HTTP verb attribute
40
39
- S6966: Awaitable method should be used
41
40
- S6967: ModelState.IsValid should be called in controller actions
; This rule has no effect for our projects, since we mainly use Endpoints which limits developers to only implement one action per "Controller".
275
275
dotnet_diagnostic.S6931.severity = none
276
276
277
+
# S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting
278
+
; This is handled by a custom model binder in our project templates that produces a bad request response in case of under-posting
279
+
dotnet_diagnostic.S6964.severity = none
280
+
277
281
# S107: Methods should not have too many parameters
0 commit comments