facebook / facebook/relay

Using @refetchable on a fragment of an interface type results in "Internal Error: Unknown type: 'Node'."

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

Description

https://github.com/rovaughn/relay-bug contains a minimal example demonstrating the behavior.

Contributor guide

Open the contributing guide

Research direction

Start with the linked minimal example in rovaughn/relay-bug and reproduce the failure involving @refetchable on an interface fragment. Trace the relevant Relay processing entry point to determine why the example reports Unknown type: 'Node'; done means the example processes successfully without that internal error.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, javascript, react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.