On this page

astFromArg

The astFromArg function exported by @graphql-tools/utils.

astFromArg(arg, schema?, pathToDirectivesInExtensions?): InputValueDefinitionNode

Defined in: packages/utils/src/print-schema-with-directives.ts:286

Parameters

arg

GraphQLArgument

schema?

GraphQLSchema

pathToDirectivesInExtensions?

string[]

Returns

InputValueDefinitionNode