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

[Pre-1.0] Convert Attributes to a KV API like Go's std context, but without the deadlines and timeouts #59

Open
abraithwaite opened this issue Jan 31, 2025 · 0 comments

Comments

@abraithwaite
Copy link
Member

Currently Attributes act like a linked-list but this creates challenges when adding to or looking up values in the list.

Does someone implementing attributes have to consider if there's another type further down the list and continue? If so, which is the valid one if the 2 attributes in the chain have conflicting values?

Overall, it's a very useful API but could use improvement by modeling context's key-value nature allowing for setting keys independently of one another, unlike the linked-list like implementation.

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

No branches or pull requests

1 participant