Find webClient...bodyToMono(X::class).block() chains

Proprietary

Chaining block() onto a WebClient.bodyToMono(...) call defeats the reactive request entirely — the calling thread blocks for the HTTP round-trip, throwing away every concurrency benefit of WebClient. In a suspend fun, awaitBody<X>() produces the same value without blocking the event loop.

org.openrewrite.kotlin.spring.FindWebClientBlockOnResponse$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.spring.FindWebClientBlockOnResponse$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.