Skip to content

Conversation

@copybara-service
Copy link

No longer deprecate unused setter methods on the builder classes. While there was probably good intent behind this, whether or not the dependency is used is not necessarily controlled at the site where the setter method would be called (e.g. in Hilt), so this warning can become spammy and not that useful.

Fixes #3601.

RELNOTES=Fixes #3601. No longer adds a deprecation warning for unused dependencies on setters on the component builder.

…le there was probably good intent behind this, whether or not the dependency is used is not necessarily controlled at the site where the setter method would be called (e.g. in Hilt), so this warning can become spammy and not that useful.

Fixes #3601.

RELNOTES=Fixes #3601. No longer adds a deprecation warning for unused dependencies on setters on the component builder.
PiperOrigin-RevId: 828180034
@copybara-service copybara-service bot merged commit 1cf9dfc into master Nov 5, 2025
@copybara-service copybara-service bot deleted the test_828142770 branch November 5, 2025 00:31
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.

Upgrading Hilt 2.42 -> 2.44 adds a new deprecation warning

1 participant