Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(gatsby-source-contentful): Fix docs pageLimit default value #38082

Merged
merged 1 commit into from
May 12, 2023

Conversation

fk
Copy link
Contributor

@fk fk commented May 11, 2023

Fix gatsby-source-contentful docs for the pageLimit configuration option.
Its default value is 1000, not 100:

const DEFAULT_PAGE_LIMIT = 1000
const defaultOptions = {
host: `cdn.contentful.com`,
environment: `master`,
downloadLocal: false,
localeFilter: () => true,
contentTypeFilter: () => true,
pageLimit: DEFAULT_PAGE_LIMIT,
useNameForId: true,
enableTags: false,
typePrefix: `Contentful`,
}

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label May 11, 2023
@fk fk requested a review from TylerBarnes May 11, 2023 19:28
@fk fk marked this pull request as ready for review May 11, 2023 19:34
@fk fk changed the title fix(source-contentful docs): pageLimit default chore(gatsby-source-contentful): fix docs pageLimit default value May 11, 2023
@fk fk changed the title chore(gatsby-source-contentful): fix docs pageLimit default value chore(gatsby-source-contentful): Fix docs pageLimit default value May 11, 2023
@LekoArts LekoArts added type: documentation An issue or pull request for improving or updating Gatsby's documentation and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels May 12, 2023
@LekoArts LekoArts merged commit 89a3232 into master May 12, 2023
@LekoArts LekoArts deleted the fk/source-contentful-fix-pageLimit-docs branch May 12, 2023 05:25
@fk
Copy link
Contributor Author

fk commented May 12, 2023

ty @LekoArts! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants