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

Increase limit on contentType query to maximum (1k) #47

Merged

Conversation

Ben-Kincaid
Copy link
Contributor

We currently have an environment that is approaching >100 content types - Using contentful-ts-generator, the resulting schema/type definitions are omitting content types after that 100 limit is reached.

As per Contentful, the default limit on these queries is 100 and the maximum allowed limit is 1000. This PR defines limit: 1000 in the opts for getContentTypes in order to surpass the default 100 limit and to avoid environments with >100 content types from receiving omitted type definitions.

@gburgett
Copy link
Member

Great! I'll release a patch version for you today

@gburgett gburgett merged commit 714635f into watermarkchurch:master Jan 12, 2024
3 of 7 checks passed
@gburgett
Copy link
Member

Released in v0.2.12

@Ben-Kincaid
Copy link
Contributor Author

Thank you @gburgett, appreciate it!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants