Project relation with custom resolver logic #203
Unanswered
marceloverdijk
asked this question in
Q&A
Replies: 1 comment
-
This woks:
But I wonder if there is a simpler/better way to do this instead? As I basically want to add such a paging to every array type in my GraphQL model, this will be quite some repetitive code I'm afraid of. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to figure out how to make a relation (1-N) pageable.
Checking the docs I read about custom resolver logic and wrapping the default resolver:
So I added
first
andoffset
arguments like.But I don't understand how to integrate these
first
andoffset
arguments now...Probably easy but I just can find it... any help appreciated.
Beta Was this translation helpful? Give feedback.
All reactions