Deprecate convention-based annotation attribute overrides in favor of @AliasFor
#28760
Closed
1 task done
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Overview
Implicit convention-based annotation attribute overrides have been supported for a long time; however, Spring Framework 4.2 introduced support for explicit annotation attribute overrides via
@AliasFor
.Since explicit overrides are favorable to implicit overrides, and since the support for convention-based overrides increases the complexity of Spring's annotation search algorithms, we will deprecate convention-based overrides in 6.0 and remove the support in 6.2 (see #28761).
Deliverables
The text was updated successfully, but these errors were encountered: