springspring-bootreactive-programmingspring-data-restspring-webflux

Does Spring Data REST support reactive crud repositories?


I've got really simple and standard OrderRepository:

@RepositoryRestResource(collectionResourceRel="orders", path="orders")
public interface OrderRepository extends ReactiveCrudRepository<Order, String> {
}

After hitting the server with:

curl http://localhost:8080/api/orders

I'm getting the following response:

{"cause":null,"message":"reactor.core.publisher.FluxOnErrorResume cannot be cast to java.lang.Iterable"}

Solution

  • Nope, not yet. Follow this ticket for progress on that topic.