-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Always Got Triggered Mutation. #185
Comments
Hi, @takielias Could you please provide me the name of the event you trigger on the server?
Thanks for your issue! |
The event name is roomchat. It always Triggers Mutation First but not actions. |
the correct name for actions is By default library camelcase the event name and adds it to If you want |
This is socket event
And this is the store
And this is what I get always. Mutation was triggered first. Is there anything wrong? I can't figure it. |
Ok, it seems like I understand the problem now So, for your code when server triggers
But inside That's why you got
So it work as it should. You can prevent 2 triggers one of those ways:
|
WOW !!! It's Done !! Thanks. |
Hi, I have been trying to fixing this issue for 2 days. It always Triggers Mutation but not actions.
Is there anything else should I consider?
The text was updated successfully, but these errors were encountered: