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

[MongoDB EventStore] projections.inline.find and findOne mutate the filter object #168

Open
alex-laycalvert opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@alex-laycalvert
Copy link
Collaborator

When you use the projection query helpers projections.inline.find, findOne, and count, the functions will mutate the filter object you pass meaning you'll need to deep clone it to make sure you can utilize the filter if doing multiple queries at once.

@alex-laycalvert alex-laycalvert added the bug Something isn't working label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant