We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First, thanks for building this amazing library. It's been of an invaluable help to me.
So, there's this issue I've encountered while working with mingo. When I apply this projection rules
mingo
{ 'comments.title': 0, 'comments.comments.comments': 0, numbers: 0 }
on this object
{ "_id": "639b4a1dc9414e958b1484ba", "title": "mingo is cool", "numbers": [], "owners": [], "comments": [ { "title": "a", "body": "body", "comments": [] }, { "title": "b", "body": "body", "comments": [ { "title": "c", "comments": [] } ] } ], "text": "kandinsky" }
I get this result
{ "_id": "639b4a1dc9414e958b1484ba", "title": "mingo is cool", "owners": [], "comments": [ { "body": "body", "comments": [] }, { "body": "body", "comments": [ { "title": "c", "comments": [] // <-- this shouldn't be included } ] } ], "def": "kandinsky" }
The issue is that this rule 'comments.comments.comments': 0 should not include the last level "comments": [] (where the title is "c") but it does.
'comments.comments.comments': 0
"comments": []
title
"c"
The text was updated successfully, but these errors were encountered:
d3dc437
Thanks for reporting this bug @nkemtasoft
Sorry, something went wrong.
No branches or pull requests
First, thanks for building this amazing library. It's been of an invaluable help to me.
So, there's this issue I've encountered while working with
mingo
. When I apply this projection ruleson this object
I get this result
The issue is that this rule
'comments.comments.comments': 0
should not include the last level"comments": []
(where thetitle
is"c"
) but it does.The text was updated successfully, but these errors were encountered: