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

#15
Opened by kanepyork 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.

    kanepyork 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.

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

  3. What's the use case for this?

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

  4. Seems like a good enough reason to me

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