apollo
apollo copied to clipboard
🚀 Apollo/GraphQL integration for VueJS
just trying a super simple useQuery and it throws an error `Uncaught (in promise) ReferenceError: getCurrentInstance is not defined` #### code: ```vue username here import { watch } from "vue";...
So I am trying to solve this problem for over a day now. I can't get vue-apollo to work. The helper $apollo is always undefined. I am trying to use...
Hello, I'm trying to use Vue (2) functionality to generate webcomponents with vue-apollo. Here the source code of the component : ``` {{country.name}} import gql from 'graphql-tag'; import Vue from...
**Describe the bug** When trying to get next posts from WPGraphql, then refetch fails ``` methods: { showMore() { this.offset += this.size this.$apollo.queries.posts.refetch({ size: 6, offset: 6, }) }, },...
import { Context } from '@nuxt/types'; import { provide, onGlobalSetup, defineNuxtPlugin } from "@nuxtjs/composition-api"; import { DefaultApolloClient } from "@vue/apollo-composable"; /** This plugin will connect @nuxt/apollojs with @vue/apollo-composable */ export...
Hello, I'm learning Vue and just want to create a simple demo of a query with Vue 3 Typescript. What am i doing wrong? Error: Query is not executed: "TypeError:...
**Describe the bug** The default getAuth callback in createApolloClient defaultOptions fails when localStorage is not available. **To Reproduce** Steps to reproduce the behavior: 1. Go to browser settings 2. Search...
The documentation lacks the dedicated section.
Why when I reload the page loading is false? When I use fetchMore, `loading` changes to true, but on the first load, loading is false I'm using 'no-cache' option ```...
**Describe the bug** When I try to use `setLink` function, I get an error: "ApolloClient.setLink is not a function". ``` apolloClient = new ApolloClient({ cache, link }) apolloClient.setLink(link2) ``` I...