-
-
Notifications
You must be signed in to change notification settings - Fork 746
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
chore: extract methods #1740
chore: extract methods #1740
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1740 +/- ##
==========================================
- Coverage 87.73% 83.90% -3.84%
==========================================
Files 33 36 +3
Lines 2348 2441 +93
Branches 294 328 +34
==========================================
- Hits 2060 2048 -12
- Misses 208 309 +101
- Partials 80 84 +4 ☔ View full report in Codecov by Sentry. |
@TimothyMakkison next conflict 😊 |
fe8f4fd
to
6f388dd
Compare
Should be done 🤞 I've been looking at removing the header dictionary and realised that I have to support .Net framework 😄 I'm currently planning on creating an inlinearray and converting it into a Would this be a deal breaker? Otherwise I can use some preprocessors and treat ,NEt Framework as a special case. |
Let's keep the Netframework as a special case, there's a lot of companies that won't move forward until the last second and adopt new technologies. So long as the functionality of all TFM's are equal with regards to the output then we can even keep a separated section for Netframework, but it's a no from me for unsafe calls. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Extracted methods into:
AddBodyToRequest
AddQueryParameters
AddMultiPart
AddHeadersToRequest
AddPropertiesToRequest
I haven't changed any logic, this commit is to make it easier to understand the scope of logic and to cut down on the massive function. I plan on removing the following collections in a subsequent pr 🤞