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

fix: fix typing issue with gRPC metadata when key ends in -bin #2251

Merged
merged 7 commits into from
Nov 22, 2024

Conversation

parthea
Copy link
Contributor

@parthea parthea commented Nov 16, 2024

This PR builds on top of #2253 which adds a macro for metadata

Fixes #2250 🦕

@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Nov 16, 2024
@parthea parthea changed the title fix: fix typing issue with gRPC metadata when key ends in fix: fix typing issue with gRPC metadata when key ends in -bin Nov 19, 2024
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Nov 19, 2024
@parthea parthea changed the base branch from main to refactor-metadata November 19, 2024 16:06
Base automatically changed from refactor-metadata to main November 19, 2024 16:58
@product-auto-label product-auto-label bot added size: s Pull request size is small. and removed size: m Pull request size is medium. labels Nov 19, 2024
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. and removed size: s Pull request size is small. labels Nov 19, 2024
@parthea parthea marked this pull request as ready for review November 19, 2024 20:26
@parthea parthea requested a review from a team as a code owner November 19, 2024 20:26
Copy link
Contributor

@vchudnov-g vchudnov-g left a comment

Choose a reason for hiding this comment

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

One suggestion to clarify the doc.

Comment on lines 462 to 463
sent along with the request as metadata. If the metadata key has
suffix `-bin`, the value must be bytes.{% endmacro %}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
sent along with the request as metadata. If the metadata key has
suffix `-bin`, the value must be bytes.{% endmacro %}
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type `string`, but for metadata keys ending with the
suffix `-bin`, the corresponding values must be of type `bytes`.{% endmacro %}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@parthea parthea enabled auto-merge (squash) November 22, 2024 21:16
@parthea parthea merged commit 8b3b80f into main Nov 22, 2024
85 checks passed
@parthea parthea deleted the repro-2250 branch November 22, 2024 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process: review requested size: xl Pull request size is extra large.
Projects
None yet
3 participants