apollo
apollo copied to clipboard
🚀 Apollo/GraphQL integration for VueJS
I am unable to install Apollo by using "Vue add apollo" anymore. It gives me a blank page after installation. Does anyone has the same problem?
**Describe the bug** On `v4`, passing the option `fetchResults: false` to `useQuery` has no effect (and if it had any I'm not clear how it is different from `enabled: false`)...
Created the method `refetchAllQueries()` in dollar-apollo that calls the `refetch()` method of all the existing queries.
Fixes: https://github.com/vuejs/apollo/issues/1297 Package: Apollo Option Situation: $apollo gets destroyed during serverPrefetch, this triggers server errors in components that use $apollo. Solution proposed: Do not destroy $apollo during serverPrefetch lifecycle method....
**Is your feature request related to a problem? Please describe.** There is no testing example for vue3 composition api to test components that use `useQuery`. **Describe the solution you'd like**...
**Here is the code** ### Template Section ``` {{ characters }} ``` ### Script Section ``` import { Options, Vue } from "vue-class-component"; import gql from "graphql-tag"; // import "vue-apollo";...
**Describe the bug** Infinite loop when wrong variables are used in addSmartSubscription. WS messages in network tab: ``` ↑ { "id":"530", "type":"start", "payload":{ "variables":{ "traceToken":"7476730793994548bd69d28094eb665f" }, "extensions":{ }, "operationName":"extNotification", "query":"subscription...
In my vue typescript application, I'm trying to use vue apollo with the `vue-property-decorator` library. I have the following code: ```typescript import { Component, Prop, Vue } from 'vue-property-decorator' import...
#### Example of variables: ``` { startsWith: searchFilter.value } ``` where `searchFilter.value` is a state property from a Pinia store (a reactive object). If the value of `searchFilter` is increasing...
**Describe the bug** Getting a warning that `refetchQueries` from an ApolloMutation component is expecting a function and not an array. `Invalid prop: type check failed for prop "refetchQueries". Expected Function,...