System Information
- Strapi Version: 4.5.3
- Operating System: Mac os
- Database: sqlite3 @7.6.2
- Node Version:
- NPM Version: 8.15.0
- Yarn Version: v16.17.1
Steps to reproduce the behavior
- For example, executing graphql queries
query GetFields( $locale: I18NLocaleCode! $slug: String $pagination: PaginationArg ) { fields( locale: $locale filters: { slug: { eq: $slug } } sort: ["order:asc", "publishedAt:asc"] pagination: $pagination ) { data { id attributes { __typename locale name slug description introduce publishedAt teams(pagination: {pageSize: 4}) { data { attributes { slug name avatar { ...FileParts } } } } } } } } fragment FileParts on UploadFileEntityResponse { data { id attributes { alternativeText width height mime url formats } } }
- ‘Query the associated field teams in fields,
teams(pagination: {pageSize: 4})
pagination setting is invalid’ - In fact, there are more than four teams in the query, so the paging setup is invalid
Passing pageSize:4 and there response contains all entries.
Expected behavior
According to the teams pagination Settings, four relevant records were queried