title: Use LocalDateTime in Micronaut Kotlin Data Class DTO
body: <p>I got this DTO:</p>
  <pre class="lang-kotlin prettyprint-override"><code>@Introspected
  data class SomeDTO(
          val someLocalDateTime: LocalDateTime,
          val someString: String
  )
  </code></pre>
  <p>And I want to use it in a Micronaut Controller like this:</p>
  <pre class="lang-kotlin prettyprint-override"><code>@Post
  @Status(HttpStatus.CREATED)
  fun somePostCall(
      someDTO: SomeDTO,
      authentication: Authentication
  ) {
      this.someMethodCall(
              someDTO.someString,
              someDTO.someLocalDateTime,
              authentication.name
      )
  }
  </code></pre>
  <p>I'm getting always this error:</p>
  <blockquote>
  <p>Required argument [SomeDTO someDTO] not specified</p>
  </blockquote>
  <p>I already tried to annotate the value in the DTO with @JsonFormat, @Format and with a custom TypeConverter (String to LocalDateTime) but none of them worked.</p>