movio / bramble

A federated GraphQL API gateway
https://movio.github.io/bramble/
MIT License
497 stars 55 forks source link

Format Request-ID as canonical UUID #237

Closed pkqk closed 10 months ago

pkqk commented 10 months ago

If the provided request ID is a UUID, parse the value and ensure it is formatted consistently when being passed downstream and being logged.

Also added some tests for the plugin.

codecov-commenter commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a7ea311) 72.30% compared to head (74331e2) 72.68%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #237 +/- ## ========================================== + Coverage 72.30% 72.68% +0.37% ========================================== Files 27 27 Lines 2791 2793 +2 ========================================== + Hits 2018 2030 +12 + Misses 632 622 -10 Partials 141 141 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.