Standard should specify discoverability?
bwplotka opened this issue · 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 embeddedCPD
in.proto
format.- For web applications it's recommended to also expose
/protoconfig/v1
endpoint that returnsCPD
.proto
format.
The above assumes CPD
is self-contained which conflicts with the above about extensibility.