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

feat(http): make ResponseWriter public #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CermakM
Copy link
Collaborator

@CermakM CermakM commented Aug 17, 2024

ResponseWriter is an important structure accessed by the middleware and used indirectly by the signature package. If we expose it, it's possible to build custom middleware on top of our existing ones, reusing the data stored in the ResponseWriter.

@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 64.08%. Comparing base (f9d8e66) to head (765b724).

Files Patch % Lines
http/middleware.go 0.00% 5 Missing ⚠️
http/response.go 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   64.08%   64.08%           
=======================================
  Files          12       12           
  Lines         646      646           
=======================================
  Hits          414      414           
  Misses        221      221           
  Partials       11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

bafko
bafko previously approved these changes Aug 20, 2024
Copy link

@bafko bafko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, add corresponding changes to CHANGELOG.

TomasKocman
TomasKocman previously approved these changes Aug 20, 2024
Fazt01
Fazt01 previously approved these changes Aug 22, 2024
Signed-off-by: Marek Cermak <[email protected]>
@CermakM CermakM dismissed stale reviews from Fazt01, TomasKocman, and bafko via 765b724 August 26, 2024 06:16
@CermakM
Copy link
Collaborator Author

CermakM commented Aug 26, 2024

@bafko updated 👍 Thanks for the reminder.

@CermakM CermakM requested a review from bafko August 26, 2024 06:16
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.

5 participants