Skip to content

Commit 63edaf9

Browse files
committed
Add missing default value for defaultLimit GraphQL config.
1 parent 8600289 commit 63edaf9

File tree

1 file changed

+1
-1
lines changed
  • docs/developer-docs/latest/setup-deployment-guides/configurations/optional

1 file changed

+1
-1
lines changed

Diff for: docs/developer-docs/latest/setup-deployment-guides/configurations/optional/plugins.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The [GraphQL plugin](/developer-docs/latest/plugins/graphql.md) has the followin
5050
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ------- |
5151
| `apolloServer` | Additional configuration for [`ApolloServer`](https://www.apollographql.com/docs/apollo-server/api/apollo-server/#apolloserver). | Object | `{}` |
5252
| `artifacts` | Object containing filepaths, defining where to store generated articats. Can include the following properties: <ul><li>`schema`: path to the generated GraphQL schema file</li><li>`typegen`: path to generated TypeScript types</li></ul>Only works if `generateArtifacts` is set to `true`. | Object | <ul><li>`schema: false`</li><li>`typegen: false`</li></ul> |
53-
| `defaultLimit` | Default value for [the `pagination[limit]` parameter](/developer-docs/latest/developer-resources/database-apis-reference/graphql-api.md#pagination-by-offset) used in API calls | Integer |
53+
| `defaultLimit` | Default value for [the `pagination[limit]` parameter](/developer-docs/latest/developer-resources/database-apis-reference/graphql-api.md#pagination-by-offset) used in API calls | Integer | 100 |
5454
| `depthLimit` | Limits the [complexity of GraphQL queries](https://www.npmjs.com/package/graphql-depth-limit). | Integer | `10` |
5555
| `generateArtifacts`| Whether Strapi should automatically generate and output a GraphQL schema file and corresponding TypeScript definitions.<br/><br/>The file system location can be configured through `artifacts`. | Boolean | `false` |
5656
| `maxLimit` | Maximum value for [the `pagination[limit]` parameter](/developer-docs/latest/developer-resources/database-apis-reference/graphql-api.md#pagination-by-offset) used in API calls | Integer | `-1` |

0 commit comments

Comments
 (0)