3 ms·
What you are talking about is the Relay specification, not GraphQL. Relay is completely optional and only a way to optimize performance of client side stuff.
by crubier 5y ago
What you are talking about is the Relay specification, not GraphQL.
Relay is completely optional and only a way to optimize performance of client side stuff.
Here is how you deal with lists in normal GraphQL:
type Query {
projects(first: Int): [Project!]!
}
type Project {
id: Int
name: String
}