Skip to content

ConstructorResolver error hints about mixing indexed and named args#30169

Merged
jhoeller merged 1 commit intospring-projects:mainfrom
simonbasle:29976-improveChildBeanDefinitionErrorMessage
Apr 12, 2023
Merged

ConstructorResolver error hints about mixing indexed and named args#30169
jhoeller merged 1 commit intospring-projects:mainfrom
simonbasle:29976-improveChildBeanDefinitionErrorMessage

Conversation

@simonbasle
Copy link
Copy Markdown
Contributor

@simonbasle simonbasle commented Mar 22, 2023

This commit adds a note to an exception in ConstructorResolver's
autowireConstructor method hinting that attention should be paid to
cases that mix indexed arguments and named arguments. This is especially
when inheriting bean definitions in xml.

See gh-29976
Closes gh-30169

This commit adds a note to an exception in `ConstructorResolver`'s
`autowireConstructor` method hinting that attention should be paid to
cases that mix indexed arguments and named arguments. This is especially
when inheriting bean definitions in xml.

Closes spring-projectsgh-29976
Close gh-PR
@simonbasle simonbasle added this to the 6.0.8 milestone Mar 22, 2023
@simonbasle simonbasle added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Mar 22, 2023
@simonbasle simonbasle self-assigned this Mar 22, 2023
@simonbasle simonbasle requested a review from a team March 22, 2023 16:57
@jhoeller jhoeller self-assigned this Apr 11, 2023
@jhoeller jhoeller merged commit e262e98 into spring-projects:main Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants