Skip to content

Commit 6871bad

Browse files
feat: expose getArgumentValues (#3487)
Co-authored-by: Ivan Goncharov <[email protected]>
1 parent bba149c commit 6871bad

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/execution/index.ts

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

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

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

src/execution/values.ts

-2
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

+1
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)