kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 309 forks source link

Feedback Reset Store on Logout #2060

Closed umutyerebakmaz closed 1 week ago

umutyerebakmaz commented 1 year ago

Hello dear Kamil,

Today, when I wanted to call the Apollo.getClient().resetStore() method in my project where I was using the apollo-angular package, I saw that the latest updates were not reflected in the document. So if we have an auth service and we are using JWT, this.apollo.client.resetStore; We need to use it like this. The IDE says this.

https://the-guild.dev/graphql/apollo-angular/docs/recipes/authentication I provide feedback on updating the required part on this page. Good works.