Hacker News new | ask | show | jobs
by neonsunset 892 days 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)