© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
3 replies
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?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Why GRPC proto services generated classes not recognizable at compile-time ?
C#CC# / help
2y ago
Grpc.Tools generating camelCase classes
C#CC# / help
12mo ago
Are exceptions really that slow? - with .NET gRPC
C#CC# / help
4y ago
`Grpc.Tools` `docker build` `protoc` crashes
C#CC# / help
2mo ago