Skip to content

Remove redundant cache update logic after addon assignment/un-assignment

What does this MR do and why?

  • Remove redundant cache update logic after addon assignment/un-assignment
  • Updates the mock data to have appropriate __typename for automatic cache update in tests

Changelog not required as all changes are behind a feature flag.

Screenshots or screen recordings

No visual changes are introduced in this MR. Screenshots below are making sure that the existing functionality still works.

Scenario Screen recording

Cache should update as before when assigning and un-assigning add-on.

Updated total counts and assignment toggle status should validate this.

Screen Recording 2023-12-08 at 10.02.14 AM.mov

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #432440

Edited by Vamsi Vempati

Merge request reports