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

Merged
merged 2 commits into from
Nov 14, 2024

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 67.04%. Comparing base (6059f50) to head (f1eeffa).

Files with missing lines 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   67.04%   67.04%           
=======================================
  Files          12       12           
  Lines         704      704           
=======================================
  Hits          472      472           
  Misses        221      221           
  Partials       11       11           
Flag Coverage Δ
67.04% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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
@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
TomasKocman
TomasKocman previously approved these changes Aug 26, 2024
bafko
bafko previously approved these changes Aug 26, 2024
@CermakM CermakM dismissed stale reviews from bafko and TomasKocman via f1eeffa September 30, 2024 07:00
@CermakM CermakM force-pushed the feat/http-expose-response-writer branch from 765b724 to f1eeffa Compare September 30, 2024 07:00
@CermakM
Copy link
Collaborator Author

CermakM commented Sep 30, 2024

Rebased.

@CermakM CermakM requested a review from bafko September 30, 2024 07:03
@TomasKocman TomasKocman merged commit ff6e18e into master Nov 14, 2024
3 checks passed
@TomasKocman TomasKocman deleted the feat/http-expose-response-writer branch November 14, 2024 12:15
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