Closed andrewlock closed 2 years ago
With preview 7, the latest released version of MinimalApi.Extensions causes a crash on app startup.
This PR renames the types that were renamed in preview 7:
AddRouteHandlerFilter()
AddEndpointFilter()
RouteHandlerContext
EndpointFilterFactoryContext
RouteHandlerFilterDelegate
EndpointFilterDelegate
RouteHandlerInvocationContext
EndpointFilterInvocationContext
Also renamed the rhic variable to efic for correctness.
rhic
efic
I wasn't sure if you wanted to rename the ValidationFilterRouteHandlerBuilderExtensions type itself so left it as-is for now.
ValidationFilterRouteHandlerBuilderExtensions
Fixes #29
With preview 7, the latest released version of MinimalApi.Extensions causes a crash on app startup.
This PR renames the types that were renamed in preview 7:
AddRouteHandlerFilter()
->AddEndpointFilter()
RouteHandlerContext
->EndpointFilterFactoryContext
RouteHandlerFilterDelegate
->EndpointFilterDelegate
RouteHandlerInvocationContext
->EndpointFilterInvocationContext
Also renamed the
rhic
variable toefic
for correctness.I wasn't sure if you wanted to rename the
ValidationFilterRouteHandlerBuilderExtensions
type itself so left it as-is for now.Fixes #29