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(responseTrailers): support for response header trailers added #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

keblodev
Copy link

  • plus GRPC_HEADER_METADATA_KEY_ID to config Grpc-Metadata headers key

Please read the CLA carefully before submitting your contribution to Mercari.
Under any circumstances, by submitting your contribution, you are deemed to accept and agree to be bound by the terms and conditions of the CLA.

https://www.mercari.com/cla/

WHAT

Update allowing to receive back headers from the grpc call processing result.
plus ability to specify Grpc-Metadata- header key for incoming headers using an environment variable instead of constant value.
plus small updates to names as it was confusing to read the code a bit.

WHY

While translation is working great which is awesome! But the biggest issue for us when we were assessing the concept with your repo was the fact that we were not receiving any headers back from the rpc call result. Obviously the header trailers should be returned back to the caller, as they might contain new/updated data that client requires back.

plus GRPC_HEADER_METADATA_KEY_ID to config Grpc-Metadata headers key
@keblodev
Copy link
Author

will update the tests over the weekend

@vbanthia-zz vbanthia-zz self-requested a review January 9, 2019 03:59
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