Refactor work item cache update to mutate update hook
What does this MR do and why?
This MR refactors work item add_hierarchy_child.mutation.graphql
/remove_hierarchy_child.mutation.graphql
client mutations to mutate update hooks instead, which makes better sense as we want to update the cache exactly when we perform the mutation to add/remove a child work item
Screenshots or screen recordings
No changes
How to set up and validate locally
- On an issue, test adding/removing tasks in the tasks widget
- On an issue, test converting checklist items in the description to tasks
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Coung Ngo