1
我有非常簡單和標準OrderRepository:Spring Data REST是否支持反應性crud存儲庫?
curl http://localhost:8080/api/orders
我得到如下回應:
@RepositoryRestResource(collectionResourceRel="orders", path="orders")
public interface OrderRepository extends ReactiveCrudRepository<Order, String> {
}
擊中服務器後
{"cause":null,"message":"reactor.core.publisher.FluxOnErrorResume cannot be cast to java.lang.Iterable"}