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

Allow current request ID to be set and read #146

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

acelaya
Copy link
Member

@acelaya acelaya commented Apr 7, 2024

Part of shlinkio/shlink#2049

The RequestIdMiddleware only allowed the request ID to be set via request headers. This PR adds also a setter, so that it can be set in non-request contexts, like during RoadRunner tasks/jobs.

@acelaya acelaya merged commit 3cb0845 into shlinkio:main Apr 7, 2024
6 checks passed
@acelaya acelaya deleted the feature/updatable-request-id branch April 7, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant