Unannotated parameters in disabled nullability context should be treated as optional #35507
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
bug
This issue describes a behavior which is not expected - a bug.
feature-minimal-actions
Controller-like actions for endpoint routing
old-area-web-frameworks-do-not-use
*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
The following code sample in minimal APIs:
will treat
id
as a required parameter even though the user likely intended it to be optional. Not providing the parameter in the scenario above will cause a 400 during runtime.The text was updated successfully, but these errors were encountered: