Skip to content

Instantly share code, notes, and snippets.

@rricard
Last active December 7, 2016 12:41
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 rricard/eb821b12145894808596de6f722059a4 to your computer and use it in GitHub Desktop.
Save rricard/eb821b12145894808596de6f722059a4 to your computer and use it in GitHub Desktop.
fragment DescribeHero on Character {
name
appearsIn
isJarJar
# [eslint] Cannot query field "isJarJar" on type "Character". (graphql/template-strings)
}
query HeroName {
hero(episode: JARJAR) {
# [eslint] Argument "episode" has invalid value JARJAR.
# Expected type "Episode", found JARJAR. (graphql/template-strings)
...DescribeHero
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment