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
Describe the bug
After upgrading from 4.0.0-beta.12 to 4.0.0, page loads stop working when using useQuery
To Reproduce
I have a Nuxt ^3.9.3 project using Vue 3.4.15 and Apollo Composable 4.0.0. When using the 4.0.0-beta.12 branch, my index page loads as expected. When upgraded to 4.0.0, the index page spins forever and never loads anything. I have confirmed that removing the call to useQuery allows the page to load, and downgrading back to the beta also works.
A little update on my investigation: this appears to be a conflict in requiring @vue/apollo-composable explicitly along with @nuxtjs/apollo, which includes its own version of the composable library. Interestingly, when only using @nuxtjs/apollo, useQuery is reported as undefined and the auto-injected import fails (while other imports, like useAsyncQuery, work fine).
Even more interestingly, if I use pnpm instead of npm, it works fine without the explicit requirement of @vue/apollo-composable
Describe the bug
After upgrading from
4.0.0-beta.12
to4.0.0
, page loads stop working when usinguseQuery
To Reproduce
I have a Nuxt
^3.9.3
project using Vue3.4.15
and Apollo Composable4.0.0
. When using the4.0.0-beta.12
branch, my index page loads as expected. When upgraded to4.0.0
, the index page spins forever and never loads anything. I have confirmed that removing the call touseQuery
allows the page to load, and downgrading back to the beta also works.package.json
Snippet of
src/pages/index.vue
The text was updated successfully, but these errors were encountered: