-
-
Notifications
You must be signed in to change notification settings - Fork 596
Parse.Object.save return doesn't contains "__type" #199
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
Comments
This is not an issue with the JS SDK -- the return type for save() is a Parse Object, which the server code needs to explicitly convert to the over-the-wire representation with |
Ok, I know how to solve this when I return this: But no if I return something like this: Any suggestion @andrewimm ? |
I believe parse-cloud-express needs to be rewritten to use the However, you can encode any of your server responses today by calling |
Thanks @andrewimm I did solve the problem... I even made a pull request to parse-server |
Hi,
I have this cloud function:
The 'np' object doesn't have the "__type" property, so it can be translated to a PFObject on my IOS app.
This happened we I deploy my app on a local Parse-server instance.
Please take a look of this bug: parse-community/parse-server#112
The text was updated successfully, but these errors were encountered: