Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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"}
like image 702
Daniel Avatar asked Jul 21 '17 10:07

Daniel


1 Answers

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

like image 200
Oliver Drotbohm Avatar answered Oct 10 '22 22:10

Oliver Drotbohm