Skip to content
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

Add AfterNextSkipper option to the Middleware config #32

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

michalkurzeja
Copy link
Contributor

This adds the ability to skip logging AFTER the next handler runs. It allows the user to selectively log requests based on the handler's response (this is my case, where I don't want to log certain status codes).

I've also added a test case for the built-in Skipper, hope you don't mind.

@ziflex
Copy link
Owner

ziflex commented Jun 3, 2024

Looks good. Thanks for your contribution!

@ziflex ziflex merged commit 8a50d7b into ziflex:master Jun 3, 2024
5 checks passed
@michalkurzeja michalkurzeja deleted the after-next-skipper branch June 4, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants