Easy
{
  hero(episode: JEDI) {
    name
    ... on Droid {
      primaryFunction
    }
    ... on Human {
      height
    }
  }
}
Quelle fonctionnalité de GraphQL est illustrée ici ?
Author: AnasStatus: PublishedQuestion passed 49 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!
0
What are variables in GraphQL?0
What will be the result of this GraphQL query if the user has no posts?1
Create a new review and return its details0
What is a "mutation" in GraphQL?0
What is the role of the schema in GraphQL?0
What is the main role of a "resolver" in GraphQL?0
What was the business need that drove Facebook to develop GraphQL?