v1.17.0
Added
- Add
fx.Module
which scopes any modifications made to the dependency graph. - Add
fx.Decorate
andfx.Replace
that lets you modify a dependency graph with decorators. - Add
fxevent.Decorated
event which gets emitted upon a dependency getting decorated.
Changed
fx.Annotate
: Validate thatfx.In
orfx.Out
structs are not passed to it.fx.Annotate
: Upon failure to Provide, the error contains the actual location
of the provided constructor.