Closed a-porubai closed 6 months ago
Hello @a-porubai ! Could you please provide more details about the mocked client and a full reproducible example to run? The client must obey the Do
behaviour, please see the docs. We might be able to help debug the mocked client in the buf slack room.
Describe the bug
Hello! I try to use mocked HTTP client for testing. After request to grpc client and it blocks and I don't get a response or error
To Reproduce
pass custom HTTP client to grpc client: func (g *GrpcClientProvider) AccountingInternal() internal_apiv1connect.AccountingInternalServiceClient { return internal_apiv1connect.NewAccountingInternalServiceClient(g.builder.httpClient, g.builder.accountingInternalUrl, g.GetClientOptions()...) }