C#C
C#3y ago
AkroMentos

❔ Testing services that are using Grpc clients generated via Grpc.Tools

It's so weird that I don't get an interface instead in all services I have to rely on the autogenerated class. It's technically fine because everything is generated as a virtual function in the Client as well so I can technically override the client for tests and inject a test implementation.

Is this the intended way to use the library or am I missing something?
Was this page helpful?