Skip to content

Polling (and force fetch in general) while the client is disconnected empties the store after erroring #334

@rricard

Description

@rricard

Expected

If the polling fails because of a connection issue, still show errors in the console and everything, but don't change the contents of the store!

Obtained

If the polling fails because of a connection issue, errors arise in the console and empties the store where the query is.

Is this really the behavior we want ?

Fix proposition

Polling shouldn't just trigger a forceFetch but a forceFetch able to, when an error arises, don't change the apollo store state.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions