by Razvan Timis
Let see how the GraphQL schema look
type Query {
User(id: String): User
}
type User {
name: String
age: Int
posts: [Post]
followers(last: Int):[Follower]
}
type Post {
title: String
content: String
}
type Follower {
name: String
age: Int
}
type Mutation {
addUser(name: String, age: Int): User
}
type User {
name: String @deprecated(reason: "Use `fullName`")
fullName: String
age: Int
posts: [Post]
followers(last: Int):[Follower]
}
A directive can be attached to a field or fragment inclusion, and can affect execution of the query in any way the server desires. more...
For more... click here
Studio Engineering is building hundreds of applications and tools that power these workflows.
One of the pains in the studio space was the growing complexity of the data and its relationships
Netflix offers a unified API aggregation layer at the edge
Dynamic page is constructed based on a query that will return an array of some set of possible “sections”
GraphQL Unions for Backend-Driven UI