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
Using vue-apollo-composable inside a Pinia setup store #1527
Comments
My best solution so far has been to use a reactive object with onResult. Is that best solution to this problem?
|
See a working example here that is passing in our automated tests. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I expect to be able to make queries inside a pinia setup store as per #1505.
When I run the code below, however, result stays undefined. I can see from the watchEffect log that the query runs and gets the correct response, so why doesn't
result
seem to be reactive in my component?Versions
"vue": "^3.3.4",
"nuxt": "^3.7.4",
"@nuxtjs/apollo": "^5.0.0-alpha.7",
"@vue/apollo-composable": "^4.0.0-beta.11",
"@apollo/client": "^3.8.7",
The text was updated successfully, but these errors were encountered: