Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-14165

Support Kotlin nullable information in Spring MVC parameters

    XMLWordPrintable

    Details

    • Last commented by a User:
      true

      Description

      Spring MVC now supports defining fields with the JDK 8 Optional type to indicate that the parameter is optional (cool!).

      Kotlin has fields which can be marked as a nullable type e.g. String? vs. String. This information should be used by Spring MVC in the same way as Optional.

      See: KType documentation

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdeleuze S├ębastien Deleuze
              Reporter:
              raman Raman Gupta
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 19 weeks, 1 day ago