GraphQL API returns only 10 entries from repeatable component

System Information
  • Strapi Version: v4.3.4
  • Operating System: ubuntu
  • Database: sqlite
  • Node Version: v16.16.0
  • NPM Version: 7.7.6
  • Yarn Version: 1.22.5

Hello Strapi-Community,

i set up a project with strap and am using a collection type with a field Component (repeatable). This was working very fine (and i am really happy with Strapi :slight_smile: ) till I had an element where I have 13 entries in the repeatable component. Strapi Admin shows all entries but the graphQL API returns only the first 10 entries.

Am I missing something in the configuration? I could not find any information about this behaviour and would be glad if someone could explain me, what I can change :slight_smile:

Thank you very much!

I’m having the exact same problem, only 10 results.

i got it working with using:
Cover (pagination: {limit:50}) { Titel }

3 Likes

I didn’t get it working with the above from luckygro. I tried it with pageSize in the pagination object as well, but to no avail.

The only thing that seems to work is to put graphql.config.defaultLimit to 100 in the backendConfig. This is not flexible however, so it’s at best a half-assed solution. No matter what i put in the pagination-object, i always see that the api call being made is for pageSize=10 (so seems like something is wrong with the graphql plugin).

1 Like