Register Kotlin support after Java support in DefaultParameterNameDiscoverer
#30052
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
theme: kotlin
An issue related to Kotlin support
type: enhancement
A general enhancement
DefaultParameterNameDiscoverer
currently registersKotlinReflectionParameterNameDiscoverer
(if Kotlin reflection support is present on the classpath) first, beforeStandardReflectionParameterNameDiscoverer
.However, since Spring Framework primarily targets Java based applications and libraries, we should register
StandardReflectionParameterNameDiscoverer
beforeKotlinReflectionParameterNameDiscoverer
in order to optimize for common use cases (even if the optimization is only minimal).The text was updated successfully, but these errors were encountered: