Use apollo query to fetch the child work item
What does this MR do and why?
Use apollo query to fetch the child work item. Since we do not use the prefetchedWorkItem ever , we can remove the smart query and let apollo handle the default caching technique
Fixes sentry error https://new-sentry.gitlab.net/organizations/gitlab/issues/2885970/?referrer=slack¬ification_uuid=21429632-8931-4cc8-8e09-4ce5dd277b74&alert_rule_id=53&alert_type=issue
References
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen Recording 2025-12-08 at 2.21.55 PM.mov | Screen Recording 2025-12-08 at 2.20.29 PM.mov |
How to set up and validate locally
- Add multiple children to any work item
- Try to hover over them quickly to see that you do not see any console errors
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Deepika Guliani