Quantcast
Viewing latest article 1
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 latest article 1
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>