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

Optimize handling of entity row Save vs entity row Update #84

Open
tmilar opened this issue Jul 11, 2019 · 0 comments
Open

Optimize handling of entity row Save vs entity row Update #84

tmilar opened this issue Jul 11, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tmilar
Copy link
Owner

tmilar commented Jul 11, 2019

Right now, the entire row is being written in the spreadsheet.

If it's a Save operation, it will append the row in the end of the sheet document.
If it's an Update operation, it will overwrite the row that matches the 'id' field. But, in this case, we probably should only write the desired/updatable fields, not all of them?

For example: if a question/answer text is banned/deleted, we probably should not overwrite the info from the spreadsheet when updating the row.

This would require a refactor in the current flow.

@tmilar tmilar added enhancement New feature or request help wanted Extra attention is needed labels Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant