Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: call unref on query variables #601

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

filiphazardous
Copy link
Contributor

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

Copy link

netlify bot commented Mar 15, 2024

Deploy Preview for apollo-module canceled.

Name Link
🔨 Latest commit 4673831
🔍 Latest deploy log https://app.netlify.com/sites/apollo-module/deploys/65f4528c66981700084f52a3

@filiphazardous
Copy link
Contributor Author

Heh, filed a bug for this, just to do it properly: #602

@Diizzayy
Copy link
Collaborator

Thank you @filiphazardous! This looks good.

@Diizzayy Diizzayy linked an issue Mar 15, 2024 that may be closed by this pull request
@Diizzayy Diizzayy merged commit 714b587 into nuxt-modules:v5 Mar 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Variables passed as ref are not passed along to apollo
2 participants