forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove duplicate missing binding messages.
A missing binding was being reported for each component/subcomponent in the graph. This leads to error spam. This CL changes the way missing bindings are included into the BindingGraph. In particular, we create a single missing binding node in the root component rather than 1 in every component. This change should be equally as valid as the previous choice because we don't know where a missing binding will be provided anyway. However, choosing the root component has two benefits: it produces much more succinct error messages, and it simplifies the BindingGraph for plugins. RELNOTES=Fix duplicate missing binding error messages. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=264182374
- Loading branch information
Showing
3 changed files
with
242 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