Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop Decorator Running When Dry Run Set (#371)
Currently, decorators still run even when dry run is set in the container (see Fx issue: uber-go/fx#1018) This changes decorators to use the scope's invoker when decorating, causing it to fill-in zero-valued results instead of actually running the function when the dry run option is set.
- Loading branch information