Skip to content

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

@tmilar

Description

@tmilar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions