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

Apollo Client cache and link #277

Open
aswallace opened this issue Nov 18, 2022 · 2 comments
Open

Apollo Client cache and link #277

aswallace opened this issue Nov 18, 2022 · 2 comments

Comments

@aswallace
Copy link
Collaborator

Leaving cache out of new ApolloClient results in the following error:

In order to initialize Apollo Client, you must specify 'link' and 'cache' properties in the options object.
These options are part of the upgrade requirements when migrating from Apollo Client 1.x to Apollo Client 2.x.
For more information, please visit: https://www.apollographql.com/docs/tutorial/client.html#apollo-client-setup

We will need to look into whether to address this or leave as is.

Originally posted by @aswallace in #276 (comment)

@tholulomo
Copy link
Contributor

@aswallace I noticed the issue is marked as merged. Does that mean this issue is now resolved cos I don't think so.

@aswallace
Copy link
Collaborator Author

@tholulomo No, the branch was merged with link and cache, but the issue itself wasn't resolved. We still needed to decide whether we want to leave link and cache in the Apollo initialization

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

No branches or pull requests

2 participants