facebook / facebook/relay

Let users configure types that are consistent enough to be refetched

Open
#4,289 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

It'd be great if it's possible to configure the list of types that are consistent enough to be refetched.
Currently, [only the `Viewer` type is exceptionally handled for this case](https://github.com/facebook/relay/blob/037a28fd6d210f66b4e719daabb9552199744eb5/compiler/crates/relay-transforms/src/refetchable_fragment/viewer_query_generator.rs), but I don't see any reason to allow users to configure the whitelist for this.

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.