gql query with parameters

101

gql query with parameters -

query HeroNameAndFriends($episode: Episode) {
  hero(episode: $episode) {
    name
  }
}

VARIABLES:

{
  "episode": "JEDI"
}

Comments

Submit
0 Comments