uber / zanzibar

A build system & configuration system to generate versioned API gateways.
MIT License
459 stars 66 forks source link

Add rpc.status to client response context for annotated thrift exceptions #934

Open deepanshumehndiratta opened 5 months ago

deepanshumehndiratta commented 5 months ago

This change adds the response status to the returned context from tchannel clients by inspecting system errors, as well as annotated applications errors (thrift exceptions)

hbhoyar-uber commented 4 months ago

Can you also add the test which shows generated code setting up this annotation

deepanshumehndiratta commented 3 months ago

Can you also add the test which shows generated code setting up this annotation

Added a unit test to cover this