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

fix: call unref on query variables #601

Closed filiphazardous closed 8 months ago

filiphazardous commented 8 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 8 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 8 months ago

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

Diizzayy commented 8 months ago

Thank you @filiphazardous! This looks good.