-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Invoke order when fx.Module is used (#925)
* Fix Invoke order when fx.Module is used Currently, fx.Module's invokes are run after all the invokes provided at the parent level are invoked. This makes it difficult for module consumers to control the precise invoke orders. This changes the invoke order to run all the invokes in the child module before running any of the invokes in the parent module, and clarify that order in the documentation for Invoke. Solves #918. Refs GO-1591. * fix indentation in code sample
- Loading branch information
Showing
3 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters