Skip to content

Exempt record components from UnnecessaryQualifier check. - #6090

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_976392213
Sep 18, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_976392213

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Exempt record components from UnnecessaryQualifier check.

Record components can have qualifier annotations that propagate to generated accessor methods, constructor parameters, and fields. For records that are not instantiated via @Inject (such as configuration records constructed with builders or passed across component boundaries), removing these qualifiers can break dependency injection bindings and downstream consumers. This change exempts record components from being flagged by UnnecessaryQualifier.

@copybara-service copybara-service Bot changed the title Exempt record constructors from UnnecessaryQualifier check. Exempt record components from UnnecessaryQualifier check. Sep 16, 2026
@copybara-service
copybara-service Bot force-pushed the test_976392213 branch 2 times, most recently from 084fbd8 to 7bc3cec Compare September 18, 2026 20:01
Record components can have qualifier annotations that propagate to generated accessor methods, constructor parameters, and fields. For records that are not instantiated via `@Inject` (such as configuration records constructed with builders or passed across component boundaries), removing these qualifiers can break dependency injection bindings and downstream consumers. This change exempts record components from being flagged by `UnnecessaryQualifier`.

PiperOrigin-RevId: 984027750
@copybara-service
copybara-service Bot merged commit 5e7c036 into master Sep 18, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_976392213 branch September 18, 2026 20:14
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.

1 participant