For Gin generated code, when supplying middleware:
RegisterHandlersWithOptions(router, handler, GinServerOptions{
Middlewares: []MiddlewareFunc{
auth.AuthenticateAndAuthorize,
},
})
A request cannot be abort by middleware, the request is fully being handled.. which mean authentication middleware cannot abort a request for example.
(@stephen-opal noticed the issue in initial pull request: #385 (comment))
For Gin generated code, when supplying middleware:
A request cannot be abort by middleware, the request is fully being handled.. which mean authentication middleware cannot abort a request for example.
(@stephen-opal noticed the issue in initial pull request: #385 (comment))