packages feed

mu-graphql-0.3.0.0: exe/schema.graphql

type Book {
  id: Int!
  title: String!
  author: Author!
}

type Author {
  id: Int!
  name: String!
  books: [Book!]!
}

type Query {
  author(name: String! = ".*"): Author
  book(title: String! = ".*"): Book
  authors: [Author!]!
  books: [Book!]!
}

type Subscription {
  books: Book!
}

schema {
  query: Query
  subscription: Subscription
}