protoconfig icon indicating copy to clipboard operation
protoconfig copied to clipboard

Standard should specify discoverability?

Open bwplotka opened this issue 5 years ago • 0 comments

Discoverability of the protobuf is a big problem in the ecosystem (e.g gRPC). Ideally, binaries are self-descriptive. There might be huge value in bringing this topic here, but it could be also subject to another specification (as per Focus on one thing well).

For example:

CPD Shall be embedded in the software executable/binary and available on demand. Note that this specification does not force any delivery mechanism as long as there is one.

  • It's recommended to expose protoconfig.v1 argument or flag that will output embedded CPD in .proto format.
  • For web applications it's recommended to also expose /protoconfig/v1 endpoint that returns CPD .proto format.

The above assumes CPD is self-contained which conflicts with the above about extensibility.

bwplotka avatar Jan 03 '21 18:01 bwplotka