Skip to content

Support Kotlin nullable information for @Autowired and @Inject [SPR-14951] #19518

Closed

Description

@spring-projects-issues

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

Activity

  1. spring-projects-issues commented on Dec 13, 2016

    @spring-projects-issues
    CollaboratorAuthor

    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).

  2. added
    type: enhancement
    in: core
    on Jan 11, 2019
  3. added this to the 5.0 M4 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions