facebook / facebook/relay

how i disable declarative replace behavior of useSubscription ...

Open
#4,085 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Hello,
I want to merge useSubscription server payload with last chached data, server send only one entity of this data (sine changed object)
then relay replaces whole array of cache with new payload,
using updater function, I get subscription server payload, but last cached data is mutated, and merging this two (local and server) created only one record...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.