-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
directAccess + query.aggregate + dates no longer work #7748
Comments
Thanks for opening this issue!
|
Could you open a PR with a simplified version of the test so we can reproduce this? Simplified meaning that it should only contain lines that are required to reproduce the issue. Instead of logging in a user you can run the query with masterkey. Are you observing the issue also on 4.x or only 5.x versions? |
@jonas-db Do you have any update on this issue? |
I was able to confirm this issue on a real Parse Server. The issue is that The fix is very simple. I attempted to write a failing test for this on Parse Server using |
🎉 This change has been released in version 5.3.0-alpha.24 |
🎉 This change has been released in version 5.4.0-beta.1 |
🎉 This change has been released in version 5.4.0-alpha.1 |
🎉 This change has been released in version 5.4.0 |
🎉 This change has been released in version 5.4.0 |
New Issue Checklist
Issue Description
When you start the server with the option
directAccess
, the execution of a pipeline does not return results when you pass aDate
instance tomatch
.Steps to reproduce
directAccess
is set totrue
and'date': date
directAccess
is set tofalse
and'date': date
directAccess
is set totrue
orfalse
anddate : date.toISOString()
.It remains unclear whether this behaviour was intended in previous versions (<5)
Actual Outcome
When (1)
Expected Outcome
When (2) or (3)
Environment
Server
^5.0.0-beta.4
macos
local
Database
mongodb
5.0.3
local
Client
na
na
Logs
The text was updated successfully, but these errors were encountered: