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

Rid of apollo-link-persisted-queries #523

Open
Akkarine opened this issue Mar 8, 2021 · 0 comments
Open

Rid of apollo-link-persisted-queries #523

Akkarine opened this issue Mar 8, 2021 · 0 comments

Comments

@Akkarine
Copy link

Akkarine commented Mar 8, 2021

I have a Nuxt.js project with unresolvable depenencies because of https://github.com/apollographql/apollo-link-persisted-queries:
Some of libraries allow only ^15.0.0 graphql version. Don't know, why they are not shown, otherwise I wouldn't have an error.

npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/graphql
npm WARN   peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from [email protected]
npm WARN   node_modules/apollo-cache-inmemory
npm WARN     apollo-cache-inmemory@"*" from the root project
npm WARN     2 more (@nuxtjs/apollo, vue-cli-plugin-apollo)
npm WARN   14 more (apollo-client, apollo-link, apollo-link-batch-http, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer graphql@"^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" from [email protected]
npm WARN node_modules/apollo-link-persisted-queries
npm WARN   apollo-link-persisted-queries@"^0.2.2" from [email protected]
npm WARN   node_modules/vue-cli-plugin-apollo

As said in repository, usage of this library is deprecated:

NOTE: This project has been merged into the @apollo/client core, which means it is now being maintained in the https://github.com/apollographql/apollo-client repo. Refer to the updated docs for usage instructions.

Please consider refactoring.

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

1 participant