Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/utilssrcfunctionsastFromArg

Function: astFromArg()

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

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

Parameters

arg

GraphQLArgument

schema?

GraphQLSchema

pathToDirectivesInExtensions?

string[]

Returns

InputValueDefinitionNode