nuxt-modules / apollo

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

v5 Upgrade Guide #561

Open bmulholland opened 8 months ago

bmulholland commented 8 months ago

I'm upgrading to Nuxt 3, which means upgrading to v5 of this module. Where can I find upgrade instructions?

There's some for vue-apollo: https://apollo.vuejs.org/migration/ And some for upgrading to v4 of the module: https://github.com/nuxt-modules/apollo/wiki/Upgrade-Guide The CHANGELOG is essentially blank: https://github.com/nuxt-modules/apollo/blob/v5/CHANGELOG.md The releases don't say anything: https://github.com/nuxt-modules/apollo/releases?q=v5.0.0&expanded=true The upgrade PR has some basics, but leaves out a lot of detail: https://github.com/nuxt-modules/apollo/pull/430

Is there somewhere authoritative we can use?

bmulholland commented 8 months ago

This might be hard to write when it's impossible to upgrade in some scenarios: https://github.com/nuxt-modules/apollo/issues/563

bmulholland commented 8 months ago

Also: https://github.com/nuxt-modules/apollo/issues/499

bmulholland commented 8 months ago

This is looking to being one of our biggest obstacles in upgrading to Nuxt 3...

Storing the ugly, hacky workarounds we'll need to use: