Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Provide access to akka-http request/response attributes #1961

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

jroper
Copy link
Contributor

@jroper jroper commented Jul 19, 2024

Fixes #859

This adds an attribute/getAttribute method to Metadata, and connects it to the underlying request/response that the metadata has been sourced from.

I haven't implemented passing attributes on from user created metadata, I'm not sure if there's a use case for that.

Fixes akka#859

This adds an `attribute`/`getAttribute` method to `Metadata`, and connects it
to the underlying request/response that the metadata has been sourced from.

I haven't implemented passing attributes on from user created metadata, I'm
not sure if there's a use case for that.
@jroper jroper force-pushed the request-attributes branch from 5db8204 to 63d7427 Compare July 19, 2024 05:08
Copy link
Member

@johanandren johanandren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johanandren johanandren merged commit 734cdcc into akka:main Jul 29, 2024
12 checks passed
@jroper jroper deleted the request-attributes branch October 24, 2024 00:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to pass strongly typed context through metadata
2 participants