type Post @key(fields: "id") {
  id: ID!
  title: String!
  body: String!
  authorId: Int!
  user: User
}

extend type User @key(fields: "id") {
  id: ID! @external
  posts: [Post]
}

extend type Query {
  getPosts: [Post]
  findPost(id: ID!): Post
}
