Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue of missing shard when a members injection binding exists in a parent component. #3151

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

Fix issue of missing shard when a members injection binding exists in a parent component.

Fixes #3143

This issue occurs in MembersInjectionMethods, where we use the key to look-up the binding. The problem is that we were using BindingGraph.membersInjectionBinding(Key) and BindingGraph.contributionBinding(Key) which can return bindings in parent components. We should have been using BindingGraph.localMembersInjectionBinding(Key) and BindingGraph.localContributionBinding(Key) instead to ensure we get a binding from the current component rather than a parent.

See #3143

RELNOTES=Fixes #3143: Fix issue with missing shard when a members injection binding exists in a parent component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

:app:hiltJavaCompilexxxDebug failed with TaskExecutionException
0 participants