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

Remove application-dependent code #73

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Remove application-dependent code #73

merged 2 commits into from
Apr 4, 2024

Conversation

msk
Copy link
Contributor

@msk msk commented Apr 4, 2024

This is the oinq-side of #60.

msk added 2 commits April 4, 2024 12:39
This combines the argument parsing logic from the request handler
into a new function, in order to reduce the redundancy of the
argument parsing logic.

`parse_args` and `send_response` are declared as `pub` so that it can
be used by crates implementing custom request handlers.
@msk msk added the refactor Code refactoring label Apr 4, 2024
@msk msk mentioned this pull request Apr 4, 2024
Copy link

codecov bot commented Apr 4, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 88.79%. Comparing base (adb96ff) to head (83556d4).

Files Patch % Lines
src/request.rs 0.00% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #73       +/-   ##
===========================================
+ Coverage   56.17%   88.79%   +32.62%     
===========================================
  Files           5        4        -1     
  Lines         397      241      -156     
===========================================
- Hits          223      214        -9     
+ Misses        174       27      -147     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@msk msk self-assigned this Apr 4, 2024
@msk msk merged commit 83556d4 into main Apr 4, 2024
15 of 16 checks passed
@msk msk deleted the issue-60 branch April 4, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant