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

spring-projects-issues opened this issue Nov 24, 2016 · 1 comment


Copy link

@spring-projects-issues 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:

  • #18737 Support Kotlin nullable information in Spring MVC parameters
  • #19595 Support @Nullable annotations as indicators for optional injection points

Referenced from: commits 39d2769

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Dec 13, 2016

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
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants