Skip to content

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

Merged
josecelano merged 1 commit intotorrust:developfrom
josecelano:714-refactor-replace-custom-makerequestuuid-with-tower_httprequest_idmakerequestuuid
Feb 27, 2024
Merged

Refactor: use tower_http::request_id::MakeRequestUuid#718
josecelano merged 1 commit intotorrust:developfrom
josecelano:714-refactor-replace-custom-makerequestuuid-with-tower_httprequest_idmakerequestuuid

Conversation

@josecelano
Copy link
Copy Markdown
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
Copy Markdown
Member Author

ACK eb8478d

@josecelano josecelano requested a review from da2ce7 February 27, 2024 16:14
@codecov
Copy link
Copy Markdown

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
Copy Markdown
Member Author

ACK eb8478d

@josecelano josecelano merged commit 93e8ae4 into torrust:develop Feb 27, 2024
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