Skip to content

Commit

Permalink
feat: expose getArgumentValues
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Feb 8, 2022
1 parent bba149c commit 8c9c720
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/execution/index.ts
Expand Up @@ -15,4 +15,8 @@ export type {

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

export { getVariableValues, getDirectiveValues } from './values';
export {
getVariableValues,
getArgumentValues,
getDirectiveValues,
} from './values';
2 changes: 0 additions & 2 deletions src/execution/values.ts
Expand Up @@ -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<unknown, unknown> | GraphQLDirective,
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -318,6 +318,7 @@ export {
defaultFieldResolver,
defaultTypeResolver,
responsePathAsArray,
getArgumentValues,
getVariableValues,
getDirectiveValues,
subscribe,
Expand Down

0 comments on commit 8c9c720

Please sign in to comment.