feat!: Refactor request context#4151
Conversation
691467f to
361db80
Compare
|
@gmlewis I'm going to completely rebase this PR as I need to split it into 3. |
|
#4152 replaces the app engine removal part of this PR. |
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
361db80 to
9785804
Compare
|
@gmlewis I've rebased this PR and it should be ready for review now. |
|
@gmlewis I had to update the |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4151 +/- ##
==========================================
+ Coverage 93.20% 93.69% +0.49%
==========================================
Files 210 210
Lines 24622 19741 -4881
==========================================
- Hits 22948 18497 -4451
+ Misses 1478 1048 -430
Partials 196 196 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
gmlewis
left a comment
There was a problem hiding this comment.
In case a force-push is performed, I'm going to stop my review here before examining the remaining 182 files.
|
@gmlewis I won't force push this, I only force pushed to realign after we split the PR up and I did provide a warning that I was doing it. Could you possibly review the linter, the only real changes are there and in |
OK, the linter LGTM. |
|
@gmlewis I've made the requested docs changes. |
gmlewis
left a comment
There was a problem hiding this comment.
One question, otherwise LGTM.
cc: @alexandear - @zyfy29 - @Not-Dhananjay-Mishra - @munlicode
|
@gmlewis how do you want me to resolve the conflict? |
|
@stevehipwell - apologies, but could you please resolve conflicts before I merge? |
|
|
@gmlewis merge commit it is, was just checking. |
|
Although if you have a better mechanism, I am fine with that in this huge PR. |
|
@gmlewis assuming that you're squash merging and you'd rather the commits aren't modified, a merge commit is likely to be the best compromise. |
|
@gmlewis it should be ready again. |
|
@alexandear I think we're just waiting on you now? |
|
@gmlewis I think we're ready to merge now. |
|
@alexandear I think this is waiting for your approval. |
Yes, please, since you made a request after your last approval. Thanks. |
|
Already approved. LGTM. |
BREAKING CHANGE: All internal calls now provide
Contextvia theRequestitself.Closes #4127
This PR makes the following changes:
http.NewRequestWithContextso we no longer need thewithContexthelperclient.BareDoto get benefits such as rate limit support