Skip to content

Instantly share code, notes, and snippets.

@salwator
Last active April 18, 2019 09:50
Show Gist options
  • Save salwator/05fc9e53548200537c1c0e2cba163762 to your computer and use it in GitHub Desktop.
Save salwator/05fc9e53548200537c1c0e2cba163762 to your computer and use it in GitHub Desktop.
GoT GraphQL Schema
scalar Date
type Person {
name: String
house: House
parents: [Person!]
isAlive: Boolean
}
type House {
name: String!
castle: String!
members: [Person!]
}
type Kingdom {
ruler: Person
kings: [Person!]
}
type Query {
kingdoms: [Kingdom!]!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment