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.
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.