Skip to content

Conversation

johahor
Copy link
Member

@johahor johahor commented Nov 23, 2026

This PR explicitly calls the clearStore function when logging out.

Our previous implementation still cleared the cache, but since one of the reviewers didn't catch this we wanted to make it more explicit.

Closes #157

@johahor johahor requested a review from a team as a code owner November 23, 2026 08:49
@johahor johahor added the refactor Restructuring of existing code in order to easy maintenance, readability or otherwise improve it. label Nov 23, 2026
Copy link
Member

@hestro hestro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to have this explicit, and I like having it separated in its own hook

@hestro hestro added this to the Final Deliverable milestone Nov 23, 2026
@johahor johahor merged commit d942522 into main Nov 23, 2026
8 checks passed
@martakam martakam deleted the fix/clear-apollo-cache-on-logout branch November 25, 2026 22:40
Sign in to join this conversation on GitHub.
Labels
refactor Restructuring of existing code in order to easy maintenance, readability or otherwise improve it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: clear Apollo Client cache when logging out
2 participants