diff --git a/src/execution/index.ts b/src/execution/index.ts index b5871d47c8..7f4bffab79 100644 --- a/src/execution/index.ts +++ b/src/execution/index.ts @@ -15,4 +15,4 @@ export type { export { subscribe, createSourceEventStream } from './subscribe'; -export { getDirectiveValues } from './values'; +export { getVariableValues, getDirectiveValues } from './values'; diff --git a/src/execution/values.ts b/src/execution/values.ts index 124319a6b3..5a404b9c2f 100644 --- a/src/execution/values.ts +++ b/src/execution/values.ts @@ -35,8 +35,6 @@ type CoercedVariableValues = * Note: The returned value is a plain Object with a prototype, since it is * exposed to user code. Care should be taken to not pull values from the * Object prototype. - * - * @internal */ export function getVariableValues( schema: GraphQLSchema, diff --git a/src/index.ts b/src/index.ts index bde23ad563..b99a678b8d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -318,6 +318,7 @@ export { defaultFieldResolver, defaultTypeResolver, responsePathAsArray, + getVariableValues, getDirectiveValues, subscribe, createSourceEventStream,