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

Refactor: use tower_http::request_id::MakeRequestUuid #718

Conversation

josecelano
Copy link
Member

Instead of a custom request UUID generator. I did not know there was already an implementation for it when I implemented that.

See: https://docs.rs/tower-http/latest/tower_http/request_id/struct.MakeRequestUuid.html

instead of a custom request UUID generator.

I did not know there was already an implementation for it.
@josecelano josecelano self-assigned this Feb 27, 2024
@josecelano josecelano added the Code Cleanup / Refactoring Tidying and Making Neat label Feb 27, 2024
@josecelano josecelano added this to the v3.0.0 milestone Feb 27, 2024
@josecelano
Copy link
Member Author

ACK eb8478d

Copy link

codecov bot commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.34%. Comparing base (c5f7abf) to head (eb8478d).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #718      +/-   ##
===========================================
- Coverage    73.39%   73.34%   -0.05%     
===========================================
  Files          144      144              
  Lines         9294     9279      -15     
===========================================
- Hits          6821     6806      -15     
  Misses        2473     2473              

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

@josecelano
Copy link
Member Author

ACK eb8478d

@josecelano josecelano merged commit 93e8ae4 into torrust:develop Feb 27, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup / Refactoring Tidying and Making Neat
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Refactor: replace custom MakeRequestUuid with tower_http::request_id::MakeRequestUuid
1 participant