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

Expose getArgumentValues as public API #3464

Merged
merged 1 commit into from Jan 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion src/execution/index.ts
Expand Up @@ -15,4 +15,4 @@ export type {

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

export { getDirectiveValues } from './values';
export { getVariableValues, getDirectiveValues } from './values';
2 changes: 0 additions & 2 deletions src/execution/values.ts
Expand Up @@ -35,8 +35,6 @@ type CoercedVariableValues =
* 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 getVariableValues(
schema: GraphQLSchema,
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -318,6 +318,7 @@ export {
defaultFieldResolver,
defaultTypeResolver,
responsePathAsArray,
getVariableValues,
getDirectiveValues,
subscribe,
createSourceEventStream,
Expand Down