-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
fix: Fixed issue where containedIn and matchesQuery does not work with nested objects #9737
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
fix: Fixed issue where containedIn and matchesQuery does not work with nested objects #9737
Conversation
…for nested pointers
I will reformat the title to use the proper commit message syntax. |
🚀 Thanks for opening this pull request! |
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release-7.x.x #9737 +/- ##
=================================================
+ Coverage 92.67% 93.04% +0.37%
=================================================
Files 187 187
Lines 14977 14978 +1
=================================================
+ Hits 13880 13937 +57
+ Misses 1097 1041 -56 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@mtrezza to check if the same applies for parse-server@8 shall i create a new pr by copying over the test cases? Or is there any better way to do it |
We review fixes for Parse Server 8, and may then review a back-port to Parse Server 7, depending on the complexity of the change. We generally don't do it the other way around, to avoid back-porting complications with other PRs. Parse Server 7 is in LTS and we usually only fix security issues. I'd suggest to start with a PR that contains a failing test for Parse Sever 8, then add the fix. Once that is merged, we'll look into back-porting it. |
closing in favour #9738 as per the comment |
Pull Request
Issue
#7414
Closes: #7414
Approach
Previously nested objects were converted to
Child$ObjectID
format before making a query to mongodb. Which was incorrect since nested objects are stored in their object format. Current change handles this edge case. Originally even nested objects should have been stored inChild$ObjectID
format. But this is a fix we can provide for now.Tasks