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

Replace HttpAttributes with accessors #11324

Open
wants to merge 4 commits into
base: 4.8.x
Choose a base branch
from
Open

Conversation

yawkat
Copy link
Member

@yawkat yawkat commented Nov 7, 2024

Attributes are a suboptimal way of adding metadata to requests and responses, both because they need a string lookup, and because they require conversion.

Attributes are a suboptimal way of adding metadata to requests and responses, both because they need a string lookup, and because they require conversion.
@yawkat yawkat added the type: improvement A minor improvement to an existing feature label Nov 7, 2024
@yawkat yawkat added this to the 4.8.0 milestone Nov 7, 2024
@altro3
Copy link
Contributor

altro3 commented Nov 8, 2024

@yawkat I think it would be better to add a fix for the missing SERVICE_ID attribute in the JDK http client at this point. See: #11309

@yawkat
Copy link
Member Author

yawkat commented Nov 8, 2024

it's not super important that core code is migrated from HttpAttributes immediately, so #11309 can stay as-is. the main concern is users and non-core micronaut projects.

# Conflicts:
#	http-server-netty/src/main/java/io/micronaut/http/server/netty/NettyHttpRequest.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants