diff --git a/src/graphql.js b/src/graphql.js index 8b0fe061f2..6a438a8b10 100644 --- a/src/graphql.js +++ b/src/graphql.js @@ -36,6 +36,11 @@ import type { MaybePromise } from './jsutils/MaybePromise'; * rootValue: * The value provided as the first argument to resolver functions on the top * level type (e.g. the query object type). + * contextValue: + * The context value is provided as an argument to resolver functions after + * field arguments. It is used to pass shared information useful at any point + * during executing this query, for example the currently logged in user and + * connections to databases or other services. * variableValues: * A mapping of variable name to runtime value to use for all variables * defined in the requestString.