From 29fb473193fd35df436f75c3a87fe2a4c09d7dbf Mon Sep 17 00:00:00 2001 From: Saihajpreet Singh Date: Tue, 8 Feb 2022 09:41:36 -0500 Subject: [PATCH] feat: expose getArgumentValues --- src/execution/index.ts | 2 +- src/execution/values.ts | 2 -- src/index.ts | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/execution/index.ts b/src/execution/index.ts index 7f4bffab797..7886c1356d2 100644 --- a/src/execution/index.ts +++ b/src/execution/index.ts @@ -15,4 +15,4 @@ export type { export { subscribe, createSourceEventStream } from './subscribe'; -export { getVariableValues, getDirectiveValues } from './values'; +export { getVariableValues, getArgumentValues, getDirectiveValues } from './values'; diff --git a/src/execution/values.ts b/src/execution/values.ts index 5a404b9c2f5..79ec77361f9 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 b99a678b8dc..7fbf4d6d683 100644 --- a/src/index.ts +++ b/src/index.ts @@ -318,6 +318,7 @@ export { defaultFieldResolver, defaultTypeResolver, responsePathAsArray, + getArgumentValues, getVariableValues, getDirectiveValues, subscribe,