-
Notifications
You must be signed in to change notification settings - Fork 10.7k
ConfigureRouteHandlerJsonOptions naming #42718
Copy link
Copy link
Closed
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Type
Fields
Give feedbackNo fields configured for issues without a type.
Reading here I see what is
ConfigureRouteHandlerJsonOptionstoday used to be namedConfigureHttpJsonOptions#39226ConfigureRouteHandlerJsonOptionsdoes not seem like a better name.Request.ReadFromJsonAsyncandResponse.WriteAsJsonAsyncuse the same options, yet these methods are commonly used from middleware which has absolutely nothing to do with route handlers./cc @captainsafia