Skip to content

pollInterval is ignored when changing the variables, if both variables and pollInterval are reactive #913

Open
@rokiyama

Description

@rokiyama

Describe the bug
pollInterval is ignored when changing the variables, if both variables and pollInterval are reactive.

Queries are executed without any waiting time.

To Reproduce
repo: https://github.com/rokiyama/example-vue-apollo-polling/tree/da09dec565df30c042beafa4374e95af691e6cd0

  1. Run the repo, open browser
  2. change the field name
  3. the queries are executed as fast as possible

Expected behavior
Queries are executed with pollInterval value

Versions
vue: 2.6.11
vue-apollo: 3.0.2
apollo-client: 2.6.8

Additional context

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