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

schema lost in reconnection situation #211

Open
NoahHahm opened this issue Apr 19, 2023 · 2 comments
Open

schema lost in reconnection situation #211

NoahHahm opened this issue Apr 19, 2023 · 2 comments

Comments

@NoahHahm
Copy link

we update the schema we missed in the reconnection situation, but
due to the difference between the schema I was holding and the schema received after joining again from the server
Map schema, etc.
I want to trigger events such as OnAdd, OnChange, etc.
any good examples of this?

@endel
Copy link
Member

endel commented Apr 19, 2023

Hi @NoahHahm, the schema callbacks need to be re-established upon reconnection. The same calls to OnAdd, OnChange, etc. need to happen both for join and reconnect.

@NoahHahm
Copy link
Author

NoahHahm commented Apr 20, 2023

Is it correct that the schema change events that are not received from the server because the connection is lost do not work?
I understand that I need to subscribe to the event again.
The local schema you had and the schema downloaded from the server
Is there a way to compare and call events for the changed parts?

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

2 participants