Skip to content

refetching a query breaks loadingKey if no new data is returned #65

@manukall

Description

@manukall

at least i think that's what's causing it.

here's what happens: when i call this.$apollo.queries.myQuery.refetch() on a query with loadingKey, loading key gets increased but not decreased when the query finishes. i'm pretty sure that it happens when the data returned from my server has not changed. and i think it's because next is not called on the observer in this case. i'm not sure how to fix this, though. any pointer?

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