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 2.5.0 and apollo-link-state #112

Closed
frandiox opened this issue Mar 18, 2019 · 0 comments
Closed

Apollo Client 2.5.0 and apollo-link-state #112

frandiox opened this issue Mar 18, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@frandiox
Copy link
Contributor

Apollo Client 2.5.0 bundles apollo-link-state already so this dependency could be removed from this package.

Looks like there are some minor breaking changes as well:
Found @client directives in query but no client resolvers were specified. You can now pass apollo-link-state resolvers to the ApolloClient constructor. This happens in new installations of this plugin since it requires ^2.4.

A quick workaround for this is pinning apollo-client version (with Yarn in this case):

  "resolutions": {
    "apollo-client": "2.4.13"
  }
@Akryum Akryum added the enhancement New feature or request label Mar 18, 2019
@Akryum Akryum closed this as completed in 9ddb8d2 Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants