Invalidate cache when deleting an entity of one kind, but retrieved with another kind
I get goals with
which has an
And wasp doesn't detect this as a trigger to invalidate the getAllGoalsByClient query cache, right? How do I tell wasp that that query needs to be refetched?
which has an
include: { objectives: true } on it, but then I delete an objective with:And wasp doesn't detect this as a trigger to invalidate the getAllGoalsByClient query cache, right? How do I tell wasp that that query needs to be refetched?