You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logout should work, instead you get the error message:
Error: src/app/auth/auth.service.ts:62:23 - error TS2551: Property 'getClient' does not exist on type 'Apollo'. Did you mean 'client'?
62 this.apollo.getClient().resetStore();
~~~~~~~~~
Describe the bug
As described in the manual here: https://the-guild.dev/graphql/apollo-angular/docs/recipes/authentication#reset-store-on-logout
You can call:
Expected behavior
The logout should work, instead you get the error message:
Does the manual do not fit the current version?
Environment:
Additional context
The text was updated successfully, but these errors were encountered: