-
-
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
Cannot get back the full object from the relational field after saving an object #1377
Comments
Seems to be an issue in the JS SDK more than parse-server. cc: @andrewimm. I suggest you open it on https://github.com/parseplatform/Parse-SDK-JS/issues |
@flovilmart The problem that I mentioned happen in cloud code, not JS client. :P |
yeah, but this is the JS client running Cloud Code... |
I got what you mean! Will open issues there, thanks @flovilmart |
This was referenced Jul 12, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We set a complete object to object's relation field, but there is only id leave after saving. Following is the testing code and the output comparison between parse.com and parse-server.
The testing cloud code:
console log of parse.com:
1 ======> {< full user object >}
1 ======> username
2 ======> {< full user object >}
2 ======> username
console log of parse.com:
1 ======> {< full user object >}
1 ======> username
2 ======> {"objectId":"< user id >"}
2 ======> undefined
The text was updated successfully, but these errors were encountered: