You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
project method for find query doesn't work. It only return the whole Document instead and is same with projection_model parameter in find method.
Hi, thank you for the report.
I'm unable to reproduce this. Please provided a minimum reproducible example that is fully runnable. ProductView is not a proper View class with Beanie required fields: source, pipeline.
Describe the bug
project method for find query doesn't work. It only return the whole Document instead and is same with projection_model parameter in find method.
To Reproduce
code below returns whole Document.
It works only if i get this through with Settings, projection config like below code as written in beanie official document
Expected behavior
I hope project method works properly.
The text was updated successfully, but these errors were encountered: