Skip to content

Large mutation breaks the cache #3571

@paulsUsername

Description

@paulsUsername

Summary

Replication:
Perform a mutation that is large, perhaps 1-2mb, but make sure you do not set publishResultToStore to false. If you run this you will stop getting any responses from the Apollo as the cache (seemingly) is in a broken state.

Resolution:
You have to set publishResultToStore to false for these large mutations otherwise the SDK breaks.

SDK version min 1.14 but also easily replicated in 1.23.

Version

1.23

Steps to reproduce the behavior

Perform a mutation that is large, perhaps 1-2mb, but make sure you do not set publishResultToStore to false. If you run this you will stop getting any responses from the Apollo as the cache (seemingly) is in a broken state.

Logs

Anything else?

No response

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