-
-
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
Edit objects in Parse.Cloud defined function before response.success #1916
Comments
Pusingg... |
The dashboard doesn't use this cloud function, it queries the class directly, so it wouldn't get this extra info. |
I'm not talking about the dashboard, the requests are made by the iOS/Android SDKs |
Interesting. Adding properties in a cloud function should work fine. Can you include your code, and the server logs that demonstrate the issue? Then we can make a test case. |
We're closing this issue due to inactivity. If this is a bug you care about that is not getting attention, consider opening a pull request with a fix. |
Actually I think I have the save problem. I have an event object which holds an array of pointers. I need to include the objects in this array only for particular users, which are the creators of the event. All this is to optimise my traffic. eventsQuery.find({
}); |
Also would love this. The reason is in the encode function:
If you call |
I've defined a parse cloud function that allow me to retrive some objects and I would "add" a calculated property to this object without saving that "new" property.
Let me be clear: in this scenario we have a Feed and a FeedLike entity, I've define a parse.cloud function that returns me the feeds and I would like to edit the feed object adding a calculated property to know if a the query user liked that post. I can retrive Feed and FeedLike both, but if I edit the feed property "liked" (On parse dashboard is a boolean type, undefined for all objects) the response is always nil.
The text was updated successfully, but these errors were encountered: