HomeToolsAbout a20k

Anatomy

Execution

After being validated, a GraphQL query is executed by a GraphQL server which returns a result that mirrors the shape of the requested query, typically as JSON.

GraphQL cannot execute a query without a type system.

At the top level of every GraphQL server is a type that represents all of the possible entry points into the GraphQL API, it’s often called the Root type or the Query type.

# root query type Query { # root field person(id: ID!): Person } # root mutation type Mutation { # ... }
© VincentVanKoh