title: Spring webflux bean validation not working
body: <p>I am trying to use bean validation in Webflux. This is what I have so far:</p>
  
  <pre><code>@PostMapping("contact")
  fun create(@RequestBody @Valid contact: Mono&lt;Contact&gt;) : Mono&lt;Contact&gt; {
      return contact.flatMap { contactRepository.save(it) }
              .doOnError{ Error("test") }
  }
  </code></pre>
  
  <p>The The validation doesn't work... I would expect that the <code>Error("test")</code> would be shown...</p>
  
  <p>Does someone has a working example(Java or Kotlin)?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Here is a repository so it can be reproducted: <a href="https://github.com/jwz104/webflux-validation-test" rel="noreferrer">https://github.com/jwz104/webflux-validation-test</a></p>
  
  <p>Request:</p>
  
  <pre><code>curl --request POST \
    --url http://localhost:8080/tickets \
    --header 'content-type: application/json' \
    --data '{
      "email": "",
      "name": "",
      "message": ""
  }'
  </code></pre>
  
  <p>Renamed contact to ticket, but everything is still the same.</p>