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

Refactor: merge find findPage - findAndPopulate findPageAndPopulate #400

Merged

Conversation

yassinedorbozgithub
Copy link
Collaborator

@yassinedorbozgithub yassinedorbozgithub commented Dec 3, 2024

Motivation

The main motivations of this PR are to merge find with with findPage, findAndPopulate with findPageAndPopulate methods, add the mongo projection feature.

Fixes #367

Checklist:

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

@yassinedorbozgithub yassinedorbozgithub added the enhancement New feature or request label Dec 3, 2024
@yassinedorbozgithub yassinedorbozgithub self-assigned this Dec 3, 2024
Copy link
Contributor

@marrouchi marrouchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @yassinedorbozgithub, let's add "@deprecated" as a comment for both functions, findPage() and findPageAndPopulate() both in base service and base repository.

@yassinedorbozgithub
Copy link
Collaborator Author

Hi @marrouchi, sure

@yassinedorbozgithub yassinedorbozgithub marked this pull request as draft December 4, 2024 07:06
@yassinedorbozgithub yassinedorbozgithub marked this pull request as ready for review December 4, 2024 07:50
@marrouchi marrouchi merged commit a1590a4 into main Dec 6, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants