uber / zanzibar

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

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

Open deepanshumehndiratta opened 6 months ago

deepanshumehndiratta commented 6 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 6 months ago

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

deepanshumehndiratta commented 4 months ago

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

Added a unit test to cover this