altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

Adding and immediately removing tasks that have connected layoutSets will not delete layoutSet due to stale cache

Open standeren opened this issue 8 months ago • 0 comments

Description

When adding and immediately removing tasks that have connected layoutSets will not delete the related layoutSet due to the cache not being updated with the new layoutSets after adding the task.

We should use sync events on the layout-sets endpoints as well to send a notification that the cache with the layoutsets query key and the particular layoutset query key must be invalidated when adding/removing layoutsets.

standeren avatar Jun 26 '24 13:06 standeren