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 Kotlin nullable information for @Autowired and @Inject [SPR-14951] #19518

Closed
spring-projects-issues opened this issue Nov 24, 2016 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Nov 24, 2016

Sébastien Deleuze opened SPR-14951 and commented

As implemented form Spring MVC/Spring Web Reactive in #18737, we could use Kotlin nullable information to know if a bean is required or not.


Issue Links:

Referenced from: commits 39d2769

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Implemented in MethodParameter.isOptional() and DependencyDescriptor.isRequired() now, with private inner delegate classes for Kotlin introspection (superseding KotlinUtils and avoiding its circular reference with MethodParameter between .core and .util).

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

No branches or pull requests

2 participants