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: add retro compatibility for find and findAndPopulate methods #419

Conversation

yassinedorbozgithub
Copy link
Collaborator

@yassinedorbozgithub yassinedorbozgithub commented Dec 6, 2024

Motivation

The motivation of this PR is to add retro compatibility for find and findAndPopulate methods.

image
reference: https://www.mongodb.com/docs/manual/reference/method/cursor.limit/

Fixes #418

Checklist:

  • I have performed a self-review of my own code
  • New and existing unit tests pass locally with my changes

api/src/utils/generics/base-repository.ts Dismissed Show dismissed Hide dismissed
api/src/utils/generics/base-repository.ts Fixed Show fixed Hide fixed
@yassinedorbozgithub yassinedorbozgithub marked this pull request as draft December 6, 2024 16:46
@yassinedorbozgithub yassinedorbozgithub marked this pull request as ready for review December 6, 2024 17:01
@marrouchi marrouchi merged commit b4cd014 into main Dec 9, 2024
5 checks passed
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.

🤔 [ISSUE] - add retro compatibility for find and findAndPopulate methods
2 participants