You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
originally I was working with Spring for GraphQL when I stumbled upon this problem:
I wanted to perform a query with a Reactive Repository returning a windowed result, but it would complain about a "non unique result". Most likely because the return type of the Repsitory method is Mono<Window<Book>> (I need the Window for GraphQL), but the query itself returns several rows.
Spring Data R2DBC does not yet support keyset scrolling. This is something we want to implement in the future.
Hello @mp911de does Spring Data R2DBC still not support offset/keyset scrolling? How can it be properly used for ReactiveCrudRepository? I'm particularly interested in getting it to work for r2dbc-postgresql driver. Thanks.
Hi there,
originally I was working with Spring for GraphQL when I stumbled upon this problem:
I wanted to perform a query with a Reactive Repository returning a windowed result, but it would complain about a "non unique result". Most likely because the return type of the Repsitory method is
Mono<Window<Book>>
(I need theWindow
for GraphQL), but the query itself returns several rows.Am I missing something, or does
Window
not work in a Reactive context (yet)?Find the attached source code with a Unit test to illustrate the problem.
reactive_window_query.zip
The text was updated successfully, but these errors were encountered: