contentful-metalsmith
contentful-metalsmith copied to clipboard
allow limits > 1000 in a query
the contentful api only allows up to 1000 items returned in a given query. it'd be nice to provide a query batcher that lets you build a site with more than 1000 entries.
Hi @bnchdrff ,
Actually that make sense, and I guess we need to change this logic here if I am not mistaken, and to handle pagination using the query params, skip and limit, actually we have this logic already implemented in contentful-export and contentful-space sync.
Here is the snippet of code.
One more thing to be careful of that sometimes entries with a lot of text in one page could exceed the maximum response size which is 8MB so I guess the setting the limit should be up to the user based on his content, so he can lower the limit value to have responses < 8MB
what if this feature was added into the js api client itself?
We can't do that since that will be hiding the actual api functionality also to give users control over their rate limit.