type Post {
title: String!
author: Person!
}
type Person {
name: String!
nickName: String
age: Int!
posts: [Post!]!
}
type Query {
allPersons(last: Int): [Person!]!
}
type Mutation {
createPerson(name: String!, age: Int!): Person!
}
type Subscription {
newPerson: Person!
}