Skip to content

@vue/apollo-composable incompatible with Apollo Client v4 #1597

@mustanggb

Description

@mustanggb

Describe the bug
@vue/[email protected] is incompatible with @apollo/[email protected].

To Reproduce
Steps to reproduce the behavior:

  1. Install @vue/[email protected] and @apollo/[email protected].
  2. Import and use @vue/apollo-composable in a Vue 3 component.
  3. Run yarn build.
  4. See the error:
"ApolloError" is not exported by "@apollo/client/legacyEntryPoints/core/index.js", imported by "@vue/apollo-composable/dist/index.mjs"`

Expected behavior
Build succeeds.

Versions

  • vue: 3.x
  • vue-apollo: 4.2.2
  • @apollo/client: 4.x

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions