-
Notifications
You must be signed in to change notification settings - Fork 102
Support gRPC binary metadata headers in C bridge #1076
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me, but may want @Sushisource's approval before merging. Also, could develop the .NET SDK aspect with your branch as the submodule to confirm this does what is needed before merging.
Sushisource
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good to me!
Absolutely, working on that now and will confirm before merging. |
I will wait for temporalio/sdk-dotnet#570 to be completed as there would be duplicated effort to adjust to sdk-core and library changes. |
What was changed
GrpcMetadataRefacross the C bridge.Why?
Tonic will return errors if binary headers are passed in as ASCII headers. Add support for passing binary headers and ensure they are combined together appropriately for gRPC requests.
Checklist
Closes [Feature Request] Ensure gRPC binary metadata headers are supported in C bridge #991
How was this tested: Add tests to verify header passing
Any docs updates needed? Not sure