nuxt-modules / apollo

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

Variables passed as ref are not passed along to apollo #602

Closed filiphazardous closed 8 months ago

filiphazardous commented 8 months ago

Environment


Describe the bug

Variables passed as ref are not passed along to apollo

Expected behaviour

unref is called on variables in src/runtime/composables.ts

Reproduction

Just look at the diff in this PR: https://github.com/nuxt-modules/apollo/pull/601

Additional context

Since we already pass the variables to useAsyncData watch, I guess we want to support this use case?

Logs

No response