-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
No support for grapql 16.x / Apollo Client 3.x #1448
Comments
Normally it should be working fine, in our project we have no problems with the current GraphQL and Apollo-Client version. I think the problem is that you need to use the "core" package directly after the update of the Apollo-Client 3:
When you use the imports from |
yes/ I also don't have nay issue I am using latest versions of packages. |
This is the error I am getting:
Edit:
|
Describe the bug
I'm trying to update our dependencies to use the latest version of graphql and apollo client, but I can't find a way to do this with
vue-apollo
.Currently if I update graphql to the latest version, or any 16.x version I get an error because
apollo-boost
requires version 15.xAccording to apollo's documentation
apollo-boost
should not be used with the latest version of@apollo/client
.As far as I can tell the current version of
vue-apollo
(3.1.0) is fairly outdated and does not support the latest version of@apollo/client
. I did find what looks like a new version ofvue-apollo
, but now called@vue/apollo-composable
. The documentation here is very lacking and after installing it and using the new package my project crashes due to a missingReact
dependency.Installation instructions from https://v4.apollo.vuejs.org/guide/installation.html :
Error when installing:
After installing with
--legacy-peer-deps
flag and trying to useApolloClient
from@apollo/client
:I then get this error when I run the application:
Expected behavior
I'd like to be able to use an up to date version of
ApolloClient
in my vue application.Versions
vue: 3.2.37
vue-apollo: 3.1.0
@apollo/client: 3.7.4
@vue/apollo-composable: 4.0.0-beta.1
The text was updated successfully, but these errors were encountered: