sıstem analız data
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
Relay currently only knows how to handle these three types of root fields:
Root field with no arguments and queries a single node.
e.g. empire queries {id: "123", ...}
Root field with one argument and queries a single node.
e.g. ship(id: "456") queries {id: "456", ...}
Root field with one array argument and queries an array of nodes.
e.g. ships(ids: ["456", "789"]) queries [{id: "456", ...}, {id: "789", ...}]
However, it has become clear that Relay needs to support any kind of root field. For example:
Root field with multiple arguments.
Root field with no arguments and queries an array of nodes.
Root field that is a connection.
Contributor guide
Research direction
The issue names no files or tests. Start by locating Relay's handling of root fields and compare the existing single-node and array cases with the requested multiple-argument, array-returning, and connection cases; done means all listed root-field shapes are supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, javascript
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100