In the documentation is the description "apollo:error" hook. I thought this would allow me to handle jwt token expiration errors globally. But I found a condition in the code to disable the hook in production.
Expected behaviour
After building the application, I expect the working "apollo:error" hook.
Environment
Linux
v18.12.1
3.0.0
1.0.0
yarn@3.3.0
vite
modules
,apollo
,googleFonts
,turnstile
,srcDir
@formkit/nuxt@1.0.0-beta.9-f64c966
,@nuxtjs/apollo@5.0.0-alpha.4
,@nuxtjs/google-fonts@3.0.0-1
,@nuxtjs/tailwindcss@6.1.3
,nuxt-icon@0.1.7
,nuxt-turnstile@0.1.1
-
Describe the bug
In the documentation is the description "apollo:error" hook. I thought this would allow me to handle jwt token expiration errors globally. But I found a condition in the code to disable the hook in production.
Expected behaviour
After building the application, I expect the working "apollo:error" hook.
Reproduction
No response
Additional context
No response
Logs
No response