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

Fixed: Apollo Skeleton - Apollo Client needs a cache to be setup #11146

merged 1 commit into from Aug 24, 2020


Copy link

@ruohki ruohki commented Aug 22, 2020

Addressing and fixing issue #11145

Configured the client to use the InMemoryCache

Copy link

CLAassistant commented Aug 22, 2020

CLA assistant check
All committers have signed the CLA.

@ruohki ruohki changed the title Fixed: Client required a Cache to be setup Fixed: Apollo Skeleton - Apollo Client needs a cache to be setup Aug 22, 2020
@filipenevola filipenevola merged commit 116aa09 into meteor:devel Aug 24, 2020
3 checks passed
Copy link

filipenevola commented Aug 24, 2020

Thanks @ruohki

It will be available in the next Meteor version 😉

filipenevola added a commit that referenced this pull request Aug 24, 2020
- `--apollo` skeleton was missing client cache setup [PR #11146](#11146)
Copy link

msgfxeg commented Sep 18, 2020

In /imports/ui/app.jsx:
just replace this:
import { ApolloProvider, ApolloClient } from '@apollo/client';
with these 2 lines:
import { ApolloProvider } from '@apollo/client';
import ApolloClient from 'apollo-boost';

Copy link
Contributor Author

ruohki commented Sep 18, 2020

But that means switching to the boost library

Copy link

filipenevola commented Nov 10, 2020

Hi, Meteor 1.11 fixes this issue and it is already available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

5 participants