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
In the server side rendering (SSR) phase, useAsyncQuery works fine but with useQuery leads the application to crash. And, it was impossible to catch the raised exception.
Expected behaviour
The @nuxtjs/apollo should handle errors and the application must continue to run in the server-side rendering (SSR).
Iran-110
changed the title
Demo stackblitz: useAsyncQuery works fine, useQuery stops the application!
Demo stackblitz: useAsyncQuery works fine, useQuery stops the application in SSR!
Dec 27, 2023
Iran-110
changed the title
Demo stackblitz: useAsyncQuery works fine, useQuery stops the application in SSR!
Stackblitz demo: useAsyncQuery works fine, useQuery stops the application in SSR!
Dec 27, 2023
Environment
Nuxt project info:
Describe the bug
In the server side rendering (SSR) phase,
useAsyncQuery
works fine but withuseQuery
leads the application to crash. And, it was impossible to catch the raised exception.Expected behaviour
The
@nuxtjs/apollo
should handle errors and the application must continue to run in the server-side rendering (SSR).Reproduction
Demo: https://stackblitz.com/edit/nuxtjs-apollo-usequery-error?file=README.md
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: