Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server.
Issue Description
Parse server rejects cloud function calls which include Parse pointers inside arrays
Steps to reproduce
Parse.Cloud.define("test", function () {});
// Later
await Parse.Cloud.run("test", {
a:[{__type: "Pointer", className:"foo", objectId: "foo" }]
});
Actual Outcome
Parse server returns an internal server error
Expected Outcome
The cloud function should run
Environment
Server
- Parse Server version:
6.4.0
- Operating system:
Ubuntu
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
local
Database
- System (MongoDB or Postgres):
MongoDB
- Database version:
6.0.12
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
local
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc):
javascript
- SDK version:
4.3.1