Let users configure types that are consistent enough to be refetched
Open
- 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
Assessment
This issue has not been assessed yet.