graphql + react
// GraphQL
{
google: company(id: "1") {
...list
}
apple: company(id: "2") {
name
id
}
}
fragment list on company {
name,
id
}
similar to required, if not provided, then throw error
graphql + react
graphql + react
// GraphQL
{
google: company(id: "1") {
...list
}
apple: company(id: "2") {
name
id
}
}
fragment list on company {
name,
id
}
similar to required, if not provided, then throw error
graphql + react
MIT License