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

Only update changed properties #52

Open
berombau opened this issue Nov 17, 2020 · 0 comments
Open

Only update changed properties #52

berombau opened this issue Nov 17, 2020 · 0 comments
Labels
enhancement New feature or request frontend

Comments

@berombau
Copy link
Collaborator

Frontend calls backend update functions with a modified copy of the whole resource. Ideally, only the changed properties are present in the request. There is already a filterUndefined function to remove undefined properties. That function can be extended to only keep the different properties after a deep compare with the original resource in vuex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
None yet
Development

No branches or pull requests

2 participants