You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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().
The text was updated successfully, but these errors were encountered:
sbrannen
changed the title
Track only qualifier annottations in BeanOverrideHandler
Track only qualifier annotations in BeanOverrideHandlerJan 14, 2025
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'sQualifierDefinition
does.In light of that, we should revise
BeanOverrideHandler
so that it tracks only qualifier annotations for use inequals()
andhashCode()
.The text was updated successfully, but these errors were encountered: