Skip to content

Instantly share code, notes, and snippets.

@dmitry-saritasa
Last active June 6, 2017 22:14
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 dmitry-saritasa/0b7f359e385028017333daf0a40f5de8 to your computer and use it in GitHub Desktop.
Save dmitry-saritasa/0b7f359e385028017333daf0a40f5de8 to your computer and use it in GitHub Desktop.
GraphQL Schema Queries
# Schema Query
{
__schema {
queryType {
name
kind
fields {
name
description
isDeprecated
deprecationReason
}
}
}
}
# Schema type Query
{
__type(name: "Film") {
name
fields {
name
type {
name
kind
}
deprecationReason
isDeprecated
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment