Skip to content

Commit 8a3b707

Browse files
committed
Expose getArgumentValues as public API
Fixes graphql#2719
1 parent f1d64ce commit 8a3b707

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/execution/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ export type {
1515

1616
export { subscribe, createSourceEventStream } from './subscribe';
1717

18-
export { getDirectiveValues } from './values';
18+
export { getVariableValues, getDirectiveValues } from './values';

src/execution/values.ts

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ type CoercedVariableValues =
3535
* Note: The returned value is a plain Object with a prototype, since it is
3636
* exposed to user code. Care should be taken to not pull values from the
3737
* Object prototype.
38-
*
39-
* @internal
4038
*/
4139
export function getVariableValues(
4240
schema: GraphQLSchema,

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ export {
318318
defaultFieldResolver,
319319
defaultTypeResolver,
320320
responsePathAsArray,
321+
getVariableValues,
321322
getDirectiveValues,
322323
subscribe,
323324
createSourceEventStream,

0 commit comments

Comments
 (0)