Skip to content

LiveQuery updates doesnt return the original object #5233

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

Closed
smiziara opened this issue Dec 12, 2018 · 3 comments
Closed

LiveQuery updates doesnt return the original object #5233

smiziara opened this issue Dec 12, 2018 · 3 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@smiziara
Copy link

To make a decision when receiving a LiveQuery update, we need to have the previous values (original values).

I can see that theres already a variable with the original object ready to be sent, but its not, only the current object is sent.

Would you please consider returning the original object as an extra parameter to the Update subscription?

@dplewis
Copy link
Member

dplewis commented Dec 12, 2018

That’s a great idea. Do you want to do a PR?

@smiziara
Copy link
Author

@dplewis Yes i can do it. But i believe it will be necessary to change the ParseServer and the JS SDK, right? Otherwise it may break the compatibility.

@dplewis
Copy link
Member

dplewis commented Dec 12, 2018

Sounds about right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

3 participants