Quantcast
Viewing all articles
Browse latest Browse all 2

Answer by twcardenas for Apollo GraphQl pagination - limit and skip

From your typeDef there is no parameter stating first or skip. it is not a parameter that exists already, it has to be defined

So something like this

documents(search: String, paragraphSize: Int, filters: DocumentFilters, sort: DocumentSort, skip: Int, limit: Int): [Document]

You could make another input to hold all these values if you wish


Viewing all articles
Browse latest Browse all 2

Trending Articles