Easy
query {
user(id: 1) {
name
age
posts {
title
content
}
}
}
What will be the response to this query if the GraphQL API responds correctly?
Author: Maxime JavauxStatus: PublishedQuestion passed 32 times
Edit
-1
Community Evaluations
Ambiguous
Auteur anonyme14/03/2025
Formulation de la question à revoir, qu'est-ce que ça veut dire "si l'API répond correctement"... ??? tout dépend des données présentes en fait, donc à préciser.
0
What is a "mutation" in GraphQL?0
What will be the result of this GraphQL query if the user has no posts?1
Using inline fragments for different types in GraphQL0
What is the main role of a "resolver" in GraphQL?1
Create a new review and return its details0
What is the role of the schema in GraphQL?0
What was the business need that drove Facebook to develop GraphQL?