Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support autowiring by constructor in Kotlin bean DSL [SPR-16014] #20563

spring-projects-issues opened this issue Sep 26, 2017 · 0 comments
in: core type: enhancement


Copy link

@spring-projects-issues spring-projects-issues commented Sep 26, 2017

Sébastien Deleuze opened SPR-16014 and commented

After the blog post presenting the Kotlin bean definition DSL, we had a lot of feedbacks and improvement requests about Routes(ref(), ref()) syntax, and even if ref() is valid, such declaration frequently used for constructor injection deserve a better syntax.

By enabling constructor autowiring by default (which make sense in Kotlin) and allowing easily to customize the autowireMode we can significantly improve syntax and readability of Kotlin bean definition DSL.

Affects: 5.0 RC4

Reference URL:

Referenced from: commits fbb428f, 23497a7

@spring-projects-issues spring-projects-issues added type: enhancement in: core labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.0 GA milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: core type: enhancement
None yet

No branches or pull requests

2 participants