With micronaut.io, how do I setup POJO validation of reactive HTTP body content? It works for the syncronous case, ie:
@Post("/sync/{id}")
HttpResponse createSync(String id, @Body @Valid SomePojo pojo) {
...
}
but it doesn't work in the async case:
@Post("/async/{id}")
Single<HttpResponse> createAsync(String id, @Body @Valid Single<SomePojo> pojoProducer) {
...
}
Thanks