Decouple production code from test proto
WithInterceptedMetadata()
uses testproto.ErrorMetadata
, which is in a test-only package. This function is only used in tests so move it to testhelper
and interceptors into testserver
.
WithInterceptedMetadata()
uses testproto.ErrorMetadata
, which is in a test-only package. This function is only used in tests so move it to testhelper
and interceptors into testserver
.