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

Adding query and pagination support #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aaroncadillac
Copy link

@aaroncadillac aaroncadillac commented Jan 22, 2024

Query & Pagination

I see that your GET methods responds with all elements, so I integrate Mongoose Paginate v2 to supports filter and paginations features

Now you can send by query params filter and pagination params with any option available on Mongo Query and Mongo Paginate Parameters

I didn't complete your test cases, so if you want in your review I can complete this

NOTE: On example/server.js:8 I remove unsupported options in mongoose 8+

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.

1 participant