Glossary

Definitions of terms you find in the documentation.

The terms addressed on this page are:

Scenario

Scenarios are objects that mirror the structure of the specific type they are mocking.

You can find the mental model for scenarios in the "What is a Scenario" section of "Mocking queries".

Builder

A builder is a function that's used to build mocks for a specific type. You can have one builder per type. Whenever builder mocks collide with scenario mocks, the scenario mock wins.

Read more about how builders work in the Mocking types section of the docs.

Mock providers

"Mock providers" is just another way of saying "the scenario and all of the builders that were defined" or "a collection of builders and the scenario defined to customize the mocking in Kimera".

Context

Context refers to a value meant to act as a global that gets passed to resolvers.

Read more:

Executable Schema

A schema that has a schema definition as well as resolver functions is an executable schema.

Read more:

Resolver

Resolvers provide the instructions for turning a GraphQL operation (a query, mutation, or subscription) into data.

Read more about resolvers in the Apollo docs.

Schema Definition Language (SDL)

To make it easy to understand the capabilities of a server, GraphQL implements a human-readable schema syntax known as its Schema Definition Language, or “SDL”. The SDL is used to express the types available within a schema and how those types relate to each other.

-- Apollo Server Docs

Read more: