-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Use Writer in Context.Status #1606
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1606 +/- ##
=======================================
Coverage 98.92% 98.92%
=======================================
Files 40 40
Lines 2229 2229
=======================================
Hits 2205 2205
Misses 12 12
Partials 12 12
Continue to review full report at Codecov.
|
Any updates on getting this super-tiny PR merged? Thanks! |
@thinkerou I do not see any concerns posted here or in #625 about this PR, Do we have a reason it's not part of 1.4 milestone and just get it done? |
is there any update on this pull request? |
4679daa
to
2ad52b5
Compare
I have rebased this branch on the latest master. It would love your review! |
@willnewrelic Realistically until the next release can get approved. Getting things merged/reviewed into master is problematic. |
can we merge this PR? |
@appleboy can you look at this PR when you get a chance? |
So after digging in a little deeper the |
Hey @dmarkham I am unsure about the potential for new issues, but I believe the risk is low: Anything that replaces the |
Hi guys, it's possible to merge it ? |
Oh it's an issue I agree! What I'm saying is I think this patch is missing a few places and falls short for someone wanting to replace the |
Hi just checking if this issue gets any update? thanks! |
We'd love to see this land soon. It's been open for quite a while now. Thanks! |
@dmarkham I totally see what you're saying here. If we're going to fix this, we should fix it completely and not just fix one of the many problems that could arise if someone were to replace What I'm wondering is if we can merge this one part of the fix now, then fix the rest of the issues in a later pull request. This will allow those users who are today replacing |
Looks like two people have approved this! Thank you! Perhaps it can be merged ? 😄 |
@dmarkham @thinkerou @appleboy Is there any reason to use |
@thinkerou waiting for your review. |
It's great to see this merged :) @thinkerou @appleboy Are you planning to create a new release anytime soon? |
A test to cover gin-gonic/gin#1606.
This PR is an update and fix to #625
If the
Context.Writer
has been replaced (with something that wraps it), the status code should be sent through the new writer.