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

fix: call unref on query variables #601

Closed filiphazardous closed 3 months ago

filiphazardous commented 3 months ago

Since we support watching the query if variables are passed as a ref, I suppose we want to actually deref them inside the handler. This PR fixes that issue

netlify[bot] commented 3 months ago

Deploy Preview for apollo-module canceled.

Name Link
Latest commit 4673831f169216f05d2d81f17bc17fffc79b749d
Latest deploy log https://app.netlify.com/sites/apollo-module/deploys/65f4528c66981700084f52a3
filiphazardous commented 3 months ago

Heh, filed a bug for this, just to do it properly: https://github.com/nuxt-modules/apollo/issues/602

Diizzayy commented 3 months ago

Thank you @filiphazardous! This looks good.