Skip to content

Conversation

trask
Copy link
Member

@trask trask commented Sep 2, 2025

See #7621

Comment on lines +75 to +80
static AttributeKey<List<Value<?>>> arrayKey(String key) {
return InternalAttributeKeyImpl.create(key, AttributeType.ARRAY);
}

/** Returns a new AttributeKey for map valued attributes. */
static AttributeKey<Attributes> mapKey(String key) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
static AttributeKey<List<Value<?>>> arrayKey(String key) {
return InternalAttributeKeyImpl.create(key, AttributeType.ARRAY);
}
/** Returns a new AttributeKey for map valued attributes. */
static AttributeKey<Attributes> mapKey(String key) {
static AttributeKey<AttributeList> arrayKey(String key) {
return InternalAttributeKeyImpl.create(key, AttributeType.ARRAY);
}
/** Returns a new AttributeKey for map valued attributes. */
static AttributeKey<AttributeMap> mapKey(String key) {

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