input BlogPostInput {
  author: String
  content: String!
}

type BlogPost {
  author: Author!
  comments: [Comment!]!
}

type Comment {
  author: Author!
}

type Author {
  name: String
  posts: [BlogPost!]!
  comments: [Comment!]!
  friends: [Author!]
  referrer: Author

  # A nonsense self referential field
  # Don't think this would make sense usually, but it's useful for testing.
  me: Author!
}

type Query {
  allPosts: [BlogPost!]!
  allAuthors: [Author!]!
}

schema {
  query: Query
}
