Skip to content

GraphQL errors are ignored when using pollInterval #1119

Open
@fungiboletus

Description

@fungiboletus

Describe the bug

GraphQL errors returned by the server after the first request are ignored when using pollInterval.

To Reproduce
Steps to reproduce the behavior:

  1. Write a apollo query using pollInterval
  2. The server should return a successful result the first time.
  3. The server returns a graphql error the second time.
  4. The error is ignored

Expected behavior

The graphql error should not be ignored. Network errors, if you stop the graphql server for example, are not ignored. If the error occurs for the first query, before it waits to poll, it's not ignored either.

Versions
vue: 2.6.12
vue-apollo: 3.0.5
apollo-client: 2.6.10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions