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

vue-apollo is incompatible to @apollo/client 3.4 #1252

Closed
flashspys opened this issue Aug 27, 2021 · 0 comments
Closed

vue-apollo is incompatible to @apollo/client 3.4 #1252

flashspys opened this issue Aug 27, 2021 · 0 comments

Comments

@flashspys
Copy link

Describe the bug
apollo-vue is not compatible to @apollo/client version 3.4 or above. The type declaration files vue-apollo is emitting contain types from @apollo/client 3.3. Thus, when using vue-apollo and @apollo/client as a dependency the typescript type checker is complaining about the a type that got changed in this PR.

To Reproduce
Steps to reproduce the behavior:

  1. Have the following dependencies in your package json:
"@vue/apollo-composable": "^4.0.0-alpha.14",
"@apollo/client": "3.4.9",
  1. type check your project

Expected behavior
Imho @vue/apollo-composable should not contain "^3.3.0" as peer dependency, but "~3.3.0", so that apollo minor updates are not compatible per default.

Versions
vue: 2.6
vue-apollo: 4.0.0-alpha.14
@apollo/client: 3.4.9

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