#221·wire

Bazel rule for generating injectors

Author: mohammadshammaCreated Nov 12, 2019Updated Jun 17, 2025
Labelsenhancement

It would be great if Wire would work out of the box with Bazel.

There could be a "go_wire_injector()" build rule that takes the source of the file containing the injector and generate a library that could be included as a dependency elsewhere. The generated file could be left out uncommitted in the source code repository (similar to how proto rules work).