fx v1.17.0 Release Notes
Release Date: 2021-02-28 // about 3 years ago-
➕ 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.
- ➕ Add