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

Support Kotlin nullable information in Spring MVC parameters

    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:
                Stéphane Nicoll
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 2 weeks, 5 days ago