apollo
apollo copied to clipboard
🚀 Apollo/GraphQL integration for VueJS
**Describe the bug** When I set the fetchPolicy to no-cache or network-only, the queries still use data from cache. **To Reproduce** I declare my smart query. apollo: { members() {...
Update the `prefetch` option to reflect that it's only ever a boolean, not also a function that returns a boolean. I was attempting to use it as a function that...
## Context Over at GitLab, we ran into a weird quirk with VueApollo (see [relevant GitLab comment](https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/2019#note_514671251)). Here's a sandbox example of the issue we ran into: ```javascript // 1)...
Exported method `mutate` was not following the contract as specified in documentation: https://apollo.vuejs.org/api/apollo-mutation.html#mutate It was returning `Promise` rather than `Promise`.
I get a console error: `[Vue warn]: Error in callback for watcher "function () { [native code] }": "TypeError: this.observer.currentResult is not a function" ` for each smart query I...
**Describe the bug** I tried to add Apollo to my current project and I have follow error  **To Reproduce** Steps to reproduce the behavior: Vue add apollo **Expected behavior**...
**Is your feature request related to a problem? Please describe.** There should be a way to create a runtime client so that we can use credentials fetched from backend. **Describe...
**Describe the bug** I was trying to create a computed property that returns `this.$apollo.queries.queryA.loading`, but it looks like the result isn't reactive, because when the value changes, the computed property...
**Describe the bug** ```Typescript Done in 7.27s. Successfully installed plugin: vue-cli-plugin-apollo ? Add example code No ? Add a GraphQL API Server? No ? Configure Apollo Engine? No Invoking generator...
I want to refetch the data every time my view is mounted. I changed my default fetchpolicy ```` var apolloClient = new ApolloClient({ ... defaultOptions: { watchQuery: { fetchPolicy: 'network-only'...