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

feat: add support for bytes values in maps (#23) #28

Merged
merged 1 commit into from
Jan 14, 2022
Merged

Conversation

tustvold
Copy link
Contributor

Closes #23

Whilst implementing this I realised #27 is an issue, but going to punt on fixing that for now. It's not a quick fix, and very niche.

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

LGTM

"test".to_string(),
prost::bytes::Bytes::from_static(b"asdf"),
);
verify(&decoded, r#"{"stringBytesDict":{"test":"YXNkZg=="}}"#);
Copy link
Contributor

Choose a reason for hiding this comment

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

alamb@MacBook-Pro-2 ~ % echo "YXNkZg==" | base64 -d
asdf%    

Seems reasonable to me

@tustvold tustvold added automerge Put in the merge queue kodiak: merge.method = 'squash' Instruct kodiak to perform a squash merge labels Jan 14, 2022
@kodiakhq kodiakhq bot merged commit ca46967 into main Jan 14, 2022
@alamb alamb deleted the map-bytes branch July 9, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Put in the merge queue kodiak: merge.method = 'squash' Instruct kodiak to perform a squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bytes are not currently supported as map... panics refer to a now-resolved prost issue
2 participants