Skip to content

Instantly share code, notes, and snippets.

@jhnferraris
Created February 18, 2019 05:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhnferraris/a42c89931dbc2e6909510a62faf2aad1 to your computer and use it in GitHub Desktop.
Save jhnferraris/a42c89931dbc2e6909510a62faf2aad1 to your computer and use it in GitHub Desktop.
Sample gql schema
type Planet {
name: String!
classification: String!
population: Int
}
type System {
name: String!
planets: [Planet!]
}
type Galaxy {
name: String!
systems: [System!]
}
type Query {
galaxy(id: ID): Galaxy
andromeda: Galaxy
hello: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment