Skip to content

Commit

Permalink
Refactor BindingGraphFactory.RequiresResolutionChecker to use the net…
Browse files Browse the repository at this point in the history
…work directly.

This is a follow-up to CL/675217954, which changed `BindingGraphFactory` to build the network during the resolution stage. Now that BindingGraphFactory builds up a network, we can use that network directly in `RequiresResolutionChecker` when calculating whether a particular `BindingNode` needs to be re-resolved in the current component.

This also fixes a bug (b/367426609) that was hiding in the old logic and is now fixed by iterating via the network directly.

RELNOTES=N/A
PiperOrigin-RevId: 670408271
  • Loading branch information
bcorso authored and Dagger Team committed Sep 19, 2024
1 parent 93b8bcf commit 669b757
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 164 deletions.
Loading

0 comments on commit 669b757

Please sign in to comment.