grpc / grpc/grpc-java

Add Context.Key.create and createWithDefault

Open
#3,822 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12.1k
Forks
4k
Avg merge
2d 17h
Merged PRs (30d)
37

Description

We'd like to remove needless differences between Attributes.Key, CallOptions.Key, and Context.Key. The Context.key() and keyWithDefault() is actually a bit weird today, and not something we'd like to copy. But we'd like to add the create methods to Key for consistency.

We will leave the current key() and keyWithDefault() methods. Just add new methods.

Related: #1869, #1764.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.