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

Issue with mongoose populate collection with lean #12

Open
T3ch0o opened this issue Mar 1, 2024 · 0 comments
Open

Issue with mongoose populate collection with lean #12

T3ch0o opened this issue Mar 1, 2024 · 0 comments

Comments

@T3ch0o
Copy link

T3ch0o commented Mar 1, 2024

When trying to populate ref or array of ref and the other model also have the plugin it returns an empty array even the sub collection has documents. When the plugin is removed from the sub document is working, but when i want to use lean only on the sub collection will not work because i don't have the plugin on 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

No branches or pull requests

1 participant