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

Data are duplicated when receiving notification from websockets #263

Closed
swouf opened this issue Feb 14, 2024 · 0 comments · Fixed by #264 or #265
Closed

Data are duplicated when receiving notification from websockets #263

swouf opened this issue Feb 14, 2024 · 0 comments · Fixed by #264 or #265
Assignees
Labels
bug 🪲 Something isn't working priority Give priority to this issue v3.4.4

Comments

@swouf
Copy link
Contributor

swouf commented Feb 14, 2024

When a user post or patch new data with the websockets feedback enabled, the data pushed by the server to the client are appended to the state, resulting in data duplication on the client.

The data should simply be updated and app data with same id should be merged or most recent one should be kept.

@swouf swouf added bug 🪲 Something isn't working priority Give priority to this issue labels Feb 14, 2024
@swouf swouf self-assigned this Feb 14, 2024
swouf added a commit that referenced this issue Feb 14, 2024
when receiving patched data from websockets,
the data are replaced and not duplicated
close #263
swouf added a commit that referenced this issue Feb 14, 2024
when receiving patched data from websockets,
the data are replaced and not duplicated
close #263
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working priority Give priority to this issue v3.4.4
Projects
None yet
1 participant