Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

gql query with parameters

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

VARIABLES:

{
  "episode": "JEDI"
}
Source by graphql.org #
 
PREVIOUS NEXT
Tagged: #gql #query #parameters
ADD COMMENT
Topic
Name
9+5 =