Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reactive support #404

Open
jordanst3wart opened this issue Sep 15, 2021 · 1 comment
Open

Reactive support #404

jordanst3wart opened this issue Sep 15, 2021 · 1 comment

Comments

@jordanst3wart
Copy link

Feature request, porting it initially from here: derjust#138

It would be great having support for the reactive spring boot stack.

Currently, i'm getting:

org.springframework.dao.InvalidDataAccessApiUsageException: Reactive Repositories are not supported by DynamoDB. Offending repository is com.example.app.repository.ItemRepository!

The repository looks like:

package com.example.app.repository;

import com.example.app.model.Item;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import reactor.core.publisher.Mono;

// ReactiveSortingRepository maybe and pageable
public interface ItemRepository extends ReactiveCrudRepository<Item, Integer> {
  Mono<RawItem> findRawItemById(Integer id);
}
@jordanst3wart
Copy link
Author

I thought this would be easy, but it locally looks like a lot of work. Here is the repo for h2: https://github.com/r2dbc/r2dbc-h2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant