2 ms·
Annotations are somewhat cursed agree. The code generation part does not have to be painful though. In fact, the tooling in Go isn't even an example of the eas
by neonsunset 3y ago
Annotations are somewhat cursed agree. The code generation part does not have to be painful though.
In fact, the tooling in Go isn't even an example of the easiest way to do it and requires you to do more steps than for example .NET where getting server boilerplate, fully working client or just generated POCO contracts from .proto boils down to
dotnet add package Grpc.Tools
<Protobuf Include="MyApiContracts.proto" /> (in .csproj)