Skip to content
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

Subscribe only for specific events? #63

Open
Ghostw4lk opened this issue May 20, 2017 · 4 comments
Open

Subscribe only for specific events? #63

Ghostw4lk opened this issue May 20, 2017 · 4 comments

Comments

@Ghostw4lk
Copy link

Hey,

i have a question to subscribe only specific events [create, update...] with live query client.

For example, i only want get ParseObjects which are triggered by the CREATE-Event.
If i update an object on the server, the UPDATE-Event will be triggered.

My question is, is it possible to subscribe only for e.g. CREATE-Events?
Because all other events are not needed in my case and produce unnecessary traffic.

Thanks in adavance.

@flovilmart
Copy link

This is not supported at the moment and would likely require a refactor on parse-server. Do you want to open an issue on parse-server requesting that improvement please?

@Ghostw4lk
Copy link
Author

Thanks for the quick response.
I will open this issue in the parse-server repository.

@mmimeault
Copy link
Contributor

On the client side, for now, you can only subscribe to a specific event and not get notified when it's other events. Events will still be received by the client (traffic) but not triggered.

@Ghostw4lk
Copy link
Author

Yes, subscribe to specific events works well, but I think to avoid the traffic is necessary due to traffic costs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants