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

Track only qualifier annotations in BeanOverrideHandler #34260

Closed
sbrannen opened this issue Jan 14, 2025 · 0 comments
Closed

Track only qualifier annotations in BeanOverrideHandler #34260

sbrannen opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
in: test Issues in the test module type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

BeanOverrideHandler currently tracks all "field annotations" for bean override fields (such as those annotated with @MockitoBean); however, the intention was to track "qualifier annotations" analogous to what Spring Boot's QualifierDefinition does.

In light of that, we should revise BeanOverrideHandler so that it tracks only qualifier annotations for use in equals() and hashCode().

@sbrannen sbrannen added in: test Issues in the test module type: enhancement A general enhancement labels Jan 14, 2025
@sbrannen sbrannen added this to the 6.2.2 milestone Jan 14, 2025
@sbrannen sbrannen self-assigned this Jan 14, 2025
@sbrannen sbrannen changed the title Track only qualifier annottations in BeanOverrideHandler Track only qualifier annotations in BeanOverrideHandler Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant