nuxt-modules / apollo

Nuxt.js module to use Vue-Apollo. The Apollo integration for GraphQL.
https://apollo.nuxtjs.org
MIT License
956 stars 198 forks source link

Bump @vue/apollo-composable version #510

Closed slavanossar closed 8 months ago

slavanossar commented 1 year ago

Your use case

The enabled option for useQuery has an issue with a race condition (https://github.com/vuejs/apollo/issues/1243 & https://github.com/vuejs/apollo/issues/1422), fixed in latest version (https://github.com/vuejs/apollo/commit/d1d84267589a4062e907cdcb606ce01ea4004502).

The solution you'd like

Update dependencies to use @vue/apollo-composable@4.0.0-beta.5.

Possible alternatives

If anyone needs a solution now, you can override the version being used in your package.json

PNPM

{
 "pnpm": {
    "overrides": {
      "@vue/apollo-composable": "4.0.0-beta.5"
    }
  }
}

Yarn

{
  "resolutions": {
    "@vue/apollo-composable": "4.0.0-beta.5"
  }
}

Additional information

No response