nfrankel
10/29/2020, 7:11 PMrouter
to a corrouter
but the latter expects a ServerResponse
, not a Mono<ServerResponse>
every example i see
the function that generates/read the data is suspend
and returns T
so shall i understand in that case, corrouter
is not a good fit?
or did i miss something?Robert Jaros
10/29/2020, 7:29 PMnfrankel
10/29/2020, 7:31 PMthe function that generates/read the data isand returnssuspend
T
nfrankel
10/29/2020, 7:32 PMinterface PersonRepository : ReactiveSortingRepository<Person, Long>
nfrankel
10/29/2020, 7:33 PMval mono: Mono<Person> = repository.findById(id)
Robert Jaros
10/29/2020, 7:36 PMnfrankel
10/29/2020, 7:38 PM