Offset based paging in GraphQL integration #1562
-
I would like to migrate our existing app from a Spring Data + GraphQL-specific-DTOs setup to Blaze persistence, utilizing EntityViews instead of the DTOs. Using the documentation (btw it's great!) + example projects I was able to figure out most of the stuff with the exception of paging. Currently, we use the classic offset-based paging and pass From the docs it seems that all paging input data are encapsulated in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Inspecting the source code I think I see the solution now. There is this public method in
where I can simply pass |
Beta Was this translation helpful? Give feedback.
Inspecting the source code I think I see the solution now. There is this public method in
GraphQLEntityViewSupport
:where I can simply pass
first
andoffset
(other paging related params will be null).