Skip to content

Honor @Fallback semantics for Test Bean Overrides #33924

@sbrannen

Description

@sbrannen

Overview

Bean Overrides for tests (@TestBean, @MockitoBean, etc.) honor @Primary semantics but do not yet honor @Fallback which was introduced in Spring Framework 6.2.

We should therefore support @Fallback semantics in our bean override matching algorithm as well.

Related Issues

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions