diff --git a/src/execution/index.ts b/src/execution/index.ts index 7f4bffab79..7727e6d57c 100644 --- a/src/execution/index.ts +++ b/src/execution/index.ts @@ -15,4 +15,8 @@ export type { export { subscribe, createSourceEventStream } from './subscribe'; -export { getVariableValues, getDirectiveValues } from './values'; +export { + getArgumentValues, + getVariableValues, + getDirectiveValues, +} from './values'; diff --git a/src/execution/values.ts b/src/execution/values.ts index 5a404b9c2f..79ec77361f 100644 --- a/src/execution/values.ts +++ b/src/execution/values.ts @@ -152,8 +152,6 @@ function coerceVariableValues( * 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 getArgumentValues( def: GraphQLField | GraphQLDirective, diff --git a/src/index.ts b/src/index.ts index b99a678b8d..7fbf4d6d68 100644 --- a/src/index.ts +++ b/src/index.ts @@ -318,6 +318,7 @@ export { defaultFieldResolver, defaultTypeResolver, responsePathAsArray, + getArgumentValues, getVariableValues, getDirectiveValues, subscribe,