New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gin: included middleware cannot abort request #485
Comments
Any chance this will be getting resolved? |
For the time being you can just take my modified gin template files from #926 and use them as custom templates during generation as described here: https://github.com/deepmap/oapi-codegen#making-changes-to-code-generation I just put them in my project directory: Then I call |
This should be resolved by #914, @deepmap-marcinr probably good to close this :) |
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))
The text was updated successfully, but these errors were encountered: