3 ms·
It would be done in CI. Generate stubs -> package/compile -> push to internal package repo. This way your protocol for your infrastructure is just another libr
by gravypod 7y ago
It would be done in CI. Generate stubs -> package/compile -> push to internal package repo.
This way your protocol for your infrastructure is just another library.
- q3k 7y agoHaving an explicit 'create client library by generating/compiling proto stubs' is generally also bad mojo from my experience, unless you're also abstracting API stability and service discovery. If not, it will be unnecessarily painful to make a change to either the service discovery method or a non-backwards-compatible proto change, as you will have to lockstep both the service rollout, the library build and the client bump.