Akryum / Akryum/vue-cli-plugin-apollo

Rid of apollo-link-persisted-queries

Offen
#523 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
477
Forks
109
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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: graphql@15.5.0
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 apollo-cache-inmemory@1.6.6
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 apollo-link-persisted-queries@0.2.2
npm WARN node_modules/apollo-link-persisted-queries
npm WARN apollo-link-persisted-queries@"^0.2.2" from vue-cli-plugin-apollo@0.22.2
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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.