Skip to content

Commit 29fb473

Browse files
Saihajpreet SinghSaihajpreet Singh
Saihajpreet Singh
authored and
Saihajpreet Singh
committed
feat: expose getArgumentValues
1 parent bba149c commit 29fb473

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/execution/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ export type {
1515

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

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

src/execution/values.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ function coerceVariableValues(
152152
* Note: The returned value is a plain Object with a prototype, since it is
153153
* exposed to user code. Care should be taken to not pull values from the
154154
* Object prototype.
155-
*
156-
* @internal
157155
*/
158156
export function getArgumentValues(
159157
def: GraphQLField<unknown, unknown> | GraphQLDirective,

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ export {
318318
defaultFieldResolver,
319319
defaultTypeResolver,
320320
responsePathAsArray,
321+
getArgumentValues,
321322
getVariableValues,
322323
getDirectiveValues,
323324
subscribe,

0 commit comments

Comments
 (0)