Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose getArgumentValues #3487

Merged
merged 2 commits into from Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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,
IvanGoncharov marked this conversation as resolved.
Show resolved Hide resolved
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