-
-
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
beforeSubscribe doesnt change incoming query #6866
Comments
Thanks for reporting. Looking at your code, I see that you |
Ive already tried both ways. Removing the |
@mtrezza I was able to replicate, I'll provide a PR and better test cases for mutating the request query |
@dblythy Thanks for looking into this so quickly. Can you give more details about the underlying issue, as in whether there is a workaround for it? |
Yes, here in my |
Issue Description
Hi, Im trying to change the incoming query subscription with Parse.Cloud.beforeSubscribe but im still getting every column at the client. Ive tried changing the subscription query with query.equalTo too but it doesnt have any effect.
I did it the same way as here: beforeFind
The intention is that some parameter needed for the right subscription shouldnt be displayed in the source code.
Thats my Cloud code:
Thats my Client code:
Environment
Server
4.3.0
CentOS 8
local
Database
MongoDB
4.0.19
local
Client
JavaScript
2.15
Logs
The text was updated successfully, but these errors were encountered: