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(enhancement): remove unnecessary map for raw path params instead use path params #924

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

jeevatkm
Copy link
Member

@jeevatkm jeevatkm commented Dec 2, 2024

  • correct digest roundtrip return value on error scenario
  • streamline content-length value on buffer and partial io.Reader flow
  • correct typo of ContentDecompressor -> ContentDecompressor
  • refactor createHTTPRequest -> createRawRequest
  • update c.log -> c.Logger()
  • update redundant err check and if conditions
  • address curl cmd non-execute request error flow
  • prevent reset buffer during buffer copy on request clone
  • improve test cases and corner coverage
  • move benchmarks into a dedicated file
  • update godoc

… use path params

- correct digest roundtrip return value on error scenario
- streamline content-length value on buffer and partial io.Reader flow
- correct typo of ContentDecompressor -> ContentDecompressor
- refactor createHTTPRequest -> createRawRequest
- update c.log -> c.Logger()
- update redundant err check and if conditions
- address curl cmd non-execute request error flow
- prevent reset buffer during buffer copy on request clone
- improve test cases and corner coverage
- move benchmarks into a dedicated file
- update godoc
@jeevatkm jeevatkm added this to the v3.0.0 Milestone milestone Dec 2, 2024
@jeevatkm jeevatkm self-assigned this Dec 2, 2024
- update test cmd with gotestsum executable to display test name
- apply mod tidy
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (v3@6454923). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff          @@
##             v3     #924   +/-   ##
=====================================
  Coverage      ?   99.91%           
=====================================
  Files         ?       15           
  Lines         ?     3340           
  Branches      ?        0           
=====================================
  Hits          ?     3337           
  Misses        ?        2           
  Partials      ?        1           
Flag Coverage Δ
unittests 99.91% <100.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.

@jeevatkm jeevatkm merged commit 7b5db4e into v3 Dec 2, 2024
4 checks passed
@jeevatkm jeevatkm deleted the code-optimizations branch December 2, 2024 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant