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

Change default update behaviour of list #83

Open
eFrane opened this issue Jan 17, 2020 · 0 comments
Open

Change default update behaviour of list #83

eFrane opened this issue Jan 17, 2020 · 0 comments

Comments

@eFrane
Copy link
Owner

eFrane commented Jan 17, 2020

The list action currently removes any existing items before adding the new ones to the module's state. This leads to cases where certain items may be missing.

A proposed solution is to:

[] Switch the default behaviour to overwriting duplicate items with the server's truth and adding new items to the state
[] Add an option to the list action which reverts it to the old behaviour of calling reset before processing the response data

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

1 participant