3p/nix/nix-daemon: enable grpc reflection

#15
Opened by riking at 2020-07-28T01·26+00

After cl/1356 is submitted, link to the libgrpc++_reflection library in the nix-daemon binary to enable the reflection protocol.

  1. Force linkage by referencing the grpc::reflection::static_proto_reflection_plugin_initializer symbol.

    riking at 2020-07-28T01·26+00

  2. A philosophical stance that API servers should be self-documenting to the extent possible, and the grpc reflection API is what enables that with standard tooling.

    riking at 2020-07-28T01·26+00

  3. What's the use case for this?

    aspen at 2020-07-28T01·26+00

  4. Seems like a good enough reason to me

    aspen at 2020-07-28T01·26+00

  5. tazjin closed this issue at 2022-01-15T07·11+00