An optional dependency is optional at activation, not at compile time: importing the package that declares a looked-up type keeps the other plugin in go.mod; only party.Plugin.Requires leaves it out.
An optional dependency is optional at activation, not at compile time: importing the package that declares a looked-up type keeps the other plugin in go.mod; only party.Plugin.Requires leaves it out.