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

Fix(crud): Do not return pageCount on getMany in some cases #465

Merged
merged 2 commits into from
Apr 12, 2020
Merged

Fix(crud): Do not return pageCount on getMany in some cases #465

merged 2 commits into from
Apr 12, 2020

Conversation

debagger
Copy link
Contributor

When alwaysPaginate mode enabled and no limit parameter in request it skip pageCount field in response. But this parameter is marked as required in the generated schema. This results in an error validating the response.

@michaelyali michaelyali merged commit 4bc9673 into nestjsx:master Apr 12, 2020
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.

None yet

2 participants